/* ================================
   Variables and Reset
   ================================ */
:root {
    --primary-color: #B8FF34;
    --secondary-color: #ffffff;
    --accent-color: #B8FF34;
    --accent-glow: rgba(184, 255, 52, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-light: rgba(255, 255, 255, 0.5);
    --text-on-dark: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-dark: #000000;
    --border-color: #222222;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-colored: 0 4px 20px rgba(184, 255, 52, 0.4);
    --shadow-glow: 0 0 30px rgba(184, 255, 52, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Fragment Mono', 'Courier New', monospace;
    --max-width: 1200px;

    /* Framer Design Tokens */
    --token-bg-black: rgb(0, 0, 0);
    --token-text-white: rgb(255, 255, 255);
    --token-accent-green: rgb(184, 255, 52);
    --token-border-light: rgba(255, 255, 255, 0.5);
    --framer-will-change-override: none;
    --framer-aspect-ratio-supported: auto;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ================================
   Custom Cursor - Disabled (using default cursor)
   ================================ */
.custom-cursor {
    display: none;
}

/* Enhanced hover effects for default cursor */
a,
button,
.magnetic-button,
.magnetic-link,
.service-header {
    cursor: pointer;
    transition: transform 0.3s ease;
}

a:hover,
button:hover,
.magnetic-button:hover,
.magnetic-link:hover {
    cursor: pointer;
}

/* Smooth pointer cursor for interactive elements */
.service-header:hover {
    cursor: pointer;
}

/* ================================
   Page Loader
   ================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo svg {
    animation: rotate 3s linear infinite;
}

.loader-circle-1 {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: drawCircle 2s ease-in-out infinite;
}

.loader-circle-2 {
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: drawCircle 2s ease-in-out infinite 0.3s;
}

.loader-circle-3 {
    stroke-dasharray: 94;
    stroke-dashoffset: 94;
    animation: drawCircle 2s ease-in-out infinite 0.6s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes drawCircle {
    0% {
        stroke-dashoffset: 220;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -220;
    }
}

.loader-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ================================
   Page Transition Overlay
   ================================ */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ================================
   Fade-in on Load Animations
   ================================ */
.fade-in-on-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ================================
   Container
   ================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================
   Header Navigation (Framer Style)
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    height: min-content;
    overflow: hidden;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    transition: var(--transition);
}

.header-logo sup {
    font-size: 0.65em;
    top: -0.5em;
}

.header-logo:hover {
    color: var(--accent-color);
}

.header-center {
    display: flex;
    align-items: center;
}

.header-location {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.header-right {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.header-link:hover {
    color: var(--text-primary);
}

.btn-contact {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ================================
   Hero Section
   ================================ */
/* ================================
   Hero Section (Framer Style)
   ================================ */
.hero-framer {
    min-height: 100vh;
    background: var(--bg-primary);
    padding: 16rem 3rem 4rem;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left Side - Main Title */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 27px;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-main-title {
    position: relative;
}

.title-line {
    font-size: clamp(4rem, 12vw, 150px);
    font-weight: 900;
    line-height: 135px;
    letter-spacing: -7.5px;
    color: var(--text-primary);
    position: relative;
    margin: 0;
    text-transform: uppercase;
    font-feature-settings: "cv09" on, "cv03" on, "cv04" on, "cv11" on;
}

.title-text {
    transition: opacity 0.5s ease;
}

.title-visual {
    display: block;
    position: relative;
    z-index: 2;
}

.title-designer {
    display: block;
    position: relative;
    z-index: 2;
}

/* Decorative Circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    z-index: -1;
    transition: all 0.3s ease;
}

.circle-1 {
    width: 30px;
    height: 30px;
    top: -10px;
    right: 20%;
    opacity: 0.6;
    animation: float-1 4s ease-in-out infinite;
}

.circle-large {
    width: clamp(120px, 15vw, 200px);
    height: clamp(120px, 15vw, 200px);
    bottom: -20px;
    right: -5%;
    animation: float-large 6s ease-in-out infinite;
}

.circle-2 {
    width: 15px;
    height: 15px;
    top: 50%;
    right: 5%;
    opacity: 0.4;
    animation: float-2 5s ease-in-out infinite;
}

/* Circle Animations */
@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, -15px) scale(1.1);
    }
}

@keyframes float-large {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, -10px) scale(1.05);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-8px, 12px) scale(1.15);
    }
}

.hero-bottom {
    margin-top: auto;
}

.see-all-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.see-all-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-secondary);
    transition: var(--transition);
}

.see-all-link:hover {
    color: var(--accent-color);
}

.see-all-link:hover::after {
    background: var(--accent-color);
}

/* Right Side - Profile Image */
.hero-right {
    display: flex;
    align-items: flex-start;
    padding-top: 2rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

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

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

.hero-image-container:hover .hero-profile-image {
    transform: scale(1.05);
}

.hero-overlay-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-align: center;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 6px 25px rgba(184, 255, 52, 0.5);
    background: var(--accent-color);
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

/* ================================
   About Section (Framer Style)
   ================================ */
.about-framer {
    padding: 8rem 3rem;
    background: var(--bg-primary);
}

.about-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-item {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--accent-color);
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

/* ================================
   Services Section (Accordion Style)
   ================================ */
.services-section {
    padding: 8rem 3rem;
    background: var(--bg-primary);
}

.services-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 6rem;
}

.services-main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.services-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 900px;
}

.services-accordion {
    display: flex;
    flex-direction: column;
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-style: solid;
    padding: 2rem 0;
    transition: var(--transition);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    height: min-content;
    overflow: hidden;
    position: relative;
    width: 100%;
    will-change: transform;
    opacity: 1;
}

.service-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.service-header {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 2rem;
    cursor: pointer;
    user-select: none;
    flex: none;
    height: min-content;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    position: relative;
}

.service-icon {
    font-size: 2rem;
    color: var(--text-primary);
    min-width: 40px;
}

.service-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
    flex: 1;
    transition: var(--transition);
}

.service-toggle {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 300;
    min-width: 40px;
    text-align: center;
    transition: var(--transition);
}

.service-header:hover .service-title {
    color: var(--accent-color);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    margin-top: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: inherit;
    position: relative;
    width: 100%;
    will-change: max-height, opacity, transform;
    opacity: 0;
    transform-origin: 50% 50% 0px;
}

.service-item.active .service-content {
    max-height: 1200px;
    margin-top: 3rem;
    opacity: 1;
    transform: none;
}

.service-item.active .service-toggle {
    transform: rotate(180deg);
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
}

.service-price {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: var(--text-primary);
}

.service-features {
    margin-top: 1rem;
}

.service-features h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.service-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 1rem;
}

.service-cta:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
}

.service-image {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 2;
}

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

.service-item.active .service-image img {
    transform: scale(1.05);
}

/* ================================
   Experience Section (Framer Style)
   ================================ */
.experience-framer {
    padding: 8rem 3rem;
    background: var(--bg-secondary);
}

.experience-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-header {
    margin-bottom: 4rem;
}

.experience-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.experience-role {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.experience-company {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.experience-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ================================
   Contact Section (Framer Style)
   ================================ */
.contact-framer {
    padding: 10rem 3rem;
    background: var(--bg-primary);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -3px;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
}

.contact-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 4rem 0;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.contact-link:hover {
    border-top-color: var(--accent-color);
}

.contact-link:hover .contact-link-value {
    color: var(--accent-color);
}

.contact-link-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-link-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

/* ================================
   Footer (Framer Style)
   ================================ */
.footer-framer {
    padding: 80px 40px 40px;
    background: var(--bg-primary);
    border-top: none;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-social-top {
    display: flex;
    gap: 40px;
    align-items: center;
}

.footer-social-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--accent-color);
}

.footer-name {
    position: relative;
}

.footer-name h2 {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
    color: var(--text-primary);
    margin: 0;
}

.footer-name .accent-dot {
    color: var(--accent-color);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright,
.footer-location {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-back {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    margin-left: auto;
}

.footer-back:hover {
    color: var(--accent-color);
}

/* ================================
   Sections
   ================================ */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   About Section
   ================================ */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.skill-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-color);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-color);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   Portfolio Section
   ================================ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    opacity: 1;
    transition: var(--transition);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-color);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
}

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

.portfolio-overlay h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-overlay p {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.view-project-btn {
    padding: 0.7rem 1.5rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.view-project-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

/* ================================
   Experience Section
   ================================ */
.experience {
    background: var(--bg-secondary);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-secondary);
    z-index: 1;
}

.timeline-date {
    text-align: right;
    font-weight: 600;
    color: var(--text-secondary);
    padding-top: 0.2rem;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-color);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   Contact Section
   ================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.contact-form .btn {
    align-self: flex-start;
    background: var(--accent-color);
    color: var(--bg-dark);
    border: none;
    font-weight: 600;
}

.contact-form .btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--bg-dark);
    color: var(--secondary-color);
    padding: 3rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border-color);
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ================================
   Modal
   ================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.modal-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.modal-close:hover svg {
    stroke: var(--bg-dark);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

.modal-close:hover svg {
    stroke: var(--secondary-color);
}

.modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.modal-body .project-category {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
}

.modal-body img {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ================================
   Responsive Design
   ================================ */
/* Desktop Large (1440px+) - Default styles above apply */

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero-name {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Tablet (810px - 1199px) */
@media (max-width: 1199px) and (min-width: 810px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }

    .header-container {
        padding: 0 2rem;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-framer {
        padding: 8rem 2rem 4rem;
    }

    .title-line {
        font-size: clamp(3.5rem, 10vw, 7rem);
    }

    .hero-right {
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .portfolio-grid-framer {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
    }

    .timeline-date {
        text-align: left;
    }
}

/* Mobile (< 809px) */
@media (max-width: 809px) {
    .header-container {
        grid-template-columns: 1fr auto;
        padding: 0 1.5rem;
    }

    .header-center {
        display: none;
    }

    .btn-contact {
        display: none;
    }

    .header-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        gap: 2rem;
        z-index: 999;
    }

    .header-link {
        font-size: 1.5rem;
        padding: 1rem 0;
    }

    .header-nav.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero-framer {
        padding: 120px 20px 60px;
        min-height: 85vh;
        overflow: visible;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
        width: 100%;
        height: min-content;
        overflow: visible;
        z-index: 1;
    }

    .hero-right {
        display: flex;
        justify-content: center;
        padding-top: 0;
        order: -1;
    }

    .hero-image-container {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 3/4;
    }

    .hero-left {
        gap: 24px;
        align-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        flex: none;
        width: 100%;
    }

    .hero-status {
        width: 100%;
    }

    .status-text {
        font-size: 0.65rem;
    }

    .hero-main-title {
        margin: 0;
        width: 100%;
        overflow: visible;
    }

    .title-line {
        font-size: clamp(48px, 13vw, 70px);
        line-height: 1.1;
        letter-spacing: -3px;
        font-weight: 900;
        white-space: normal;
        word-break: normal;
        font-feature-settings: "cv09" on, "cv03" on, "cv04" on, "cv11" on;
        margin: 0;
        overflow: visible;
    }

    .title-visual {
        margin-bottom: 0;
    }

    .title-designer {
        margin-top: 0;
    }

    .circle-large {
        width: 80px;
        height: 80px;
        bottom: -5px;
        right: -10px;
    }

    .circle-1 {
        width: 20px;
        height: 20px;
        top: 5px;
        right: 15%;
    }

    .circle-2 {
        width: 12px;
        height: 12px;
        top: 40%;
        right: auto;
        left: -5px;
    }

    .hero-bottom {
        margin-top: 32px;
        width: 100%;
    }

    .see-all-link {
        border-bottom: 1px solid var(--text-secondary);
        padding-bottom: 8px;
    }

    .see-all-link::after {
        display: none;
    }

    .about-framer,
    .portfolio-framer,
    .experience-framer {
        padding: 4rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stat-item {
        padding-top: 1rem;
    }

    .services-section {
        padding: 5rem 1.5rem;
    }

    .services-main-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .services-subtitle {
        font-size: 0.875rem;
    }

    .service-header {
        gap: 1rem;
    }

    .service-icon {
        font-size: 1.5rem;
        min-width: 30px;
    }

    .service-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .service-toggle {
        font-size: 2rem;
    }

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

    .service-image {
        max-width: 100%;
        order: -1;
    }

    .service-number {
        top: 1rem;
        right: 1rem;
        font-size: 1.125rem;
    }

    .experience-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .experience-year {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .experience-role {
        font-size: 1.25rem;
    }

    .experience-description {
        font-size: 0.95rem;
    }

    .contact-framer {
        padding: 5rem 1.5rem;
    }

    .contact-title {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: -2px;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .contact-links {
        width: 100%;
        gap: 1.5rem;
    }

    .contact-link {
        padding: 1.5rem 0;
    }

    .contact-link-value {
        font-size: 1.125rem;
        word-break: break-all;
    }

    .footer-framer {
        padding: 60px 20px 30px;
    }

    .footer-container {
        gap: 40px;
    }

    .footer-social-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }

    .footer-social {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-social-link {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: 0;
    }

    .timeline-date {
        text-align: left;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modal-content {
        padding: 2rem 1.25rem;
        margin: 0 1rem;
    }
}

/* Mobile Small (< 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    .header {
        padding: 1.5rem 0;
    }

    .header-container {
        padding: 0 1.25rem;
    }

    .header-logo {
        font-size: 1rem;
    }

    .hero-framer {
        padding: 110px 1.25rem 50px;
        min-height: 80vh;
    }

    .title-line {
        font-size: clamp(44px, 12vw, 60px);
        line-height: 1.05;
        letter-spacing: -2.5px;
    }

    .circle-large {
        width: 65px;
        height: 65px;
    }

    .circle-1 {
        width: 18px;
        height: 18px;
    }

    .circle-2 {
        width: 10px;
        height: 10px;
    }

    .hero-description-text {
        font-size: 0.85rem;
    }

    .status-text {
        font-size: 0.6rem;
    }

    .status-dot {
        width: 8px;
        height: 8px;
    }

    .btn-contact {
        padding: 0.65rem 1.25rem;
        font-size: 0.8rem;
    }

    .about-framer,
    .services-section,
    .experience-framer {
        padding: 3.5rem 1.25rem;
    }

    .service-description,
    .service-price {
        font-size: 0.95rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .service-cta {
        padding: 0.875rem 1.75rem;
        font-size: 0.8rem;
    }

    .about-title,
    .portfolio-title,
    .experience-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .about-description {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-category {
        font-size: 0.7rem;
    }

    .experience-role {
        font-size: 1.15rem;
    }

    .experience-company {
        font-size: 0.8rem;
    }

    .experience-description {
        font-size: 0.9rem;
    }

    .contact-framer {
        padding: 4.5rem 1.25rem;
    }

    .contact-title {
        font-size: clamp(1.75rem, 9vw, 3.5rem);
    }

    .contact-description {
        font-size: 0.95rem;
    }

    .contact-link-label {
        font-size: 0.7rem;
    }

    .contact-link-value {
        font-size: 1rem;
    }

    .footer-framer {
        padding: 50px 15px 25px;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }

    .footer-social-link {
        font-size: 0.65rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .modal-content {
        padding: 1.75rem 1.25rem;
        margin: 0 0.5rem;
    }

    .modal-body h2 {
        font-size: 1.75rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        top: 1rem;
        right: 1rem;
    }
}

/* ================================
   Favourite Stack Section
   ================================ */

.stack-section {
    display: flex;
    height: 100vh;
    background: var(--bg-primary);
    position: relative;
}

/* Left Side - Sticky */
.stack-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 2rem;
}

.stack-header {
    max-width: 500px;
}

.stack-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.stack-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.stack-subtitle .underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.stack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.badge-dot {
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border-radius: 50%;
}

/* Right Side - Scrolling Content */
.stack-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stack-item {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.stack-icon {
    margin-bottom: 3rem;
}

.stack-icon svg {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.stack-item:hover .stack-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.stack-content {
    text-align: center;
    max-width: 500px;
}

.stack-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stack-category {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.stack-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stack-percentage {
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .stack-section {
        flex-direction: column;
        min-height: auto;
        height: auto;
    }

    .stack-left {
        position: relative;
        height: auto;
        padding: 100px 20px 60px;
    }

    .stack-header {
        max-width: 100%;
    }

    .stack-title {
        font-size: clamp(3rem, 12vw, 5rem);
        margin-bottom: 1.5rem;
    }

    .stack-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .stack-badge {
        margin-top: 1.5rem;
        position: relative;
    }

    .stack-right {
        padding: 0;
    }

    .stack-item {
        height: auto;
        min-height: 70vh;
        padding: 4rem 1.5rem;
    }

    .stack-icon {
        margin-bottom: 2rem;
    }

    .stack-icon svg {
        width: 60px;
        height: 60px;
    }

    .stack-name {
        font-size: 2.5rem;
    }

    .stack-description {
        font-size: 1rem;
    }

    .stack-percentage {
        font-size: 2rem;
    }
}
