/* ============================================
   PLANK DIGITAL v2 - Modern Playful Design
   ============================================ */

:root {
    /* Colors */
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-surface: #1a1a24;
    --wystera: #B19CD9;
    --wystera-dim: #8B7AB3;
    --wystera-glow: rgba(177, 156, 217, 0.4);
    --wystera-subtle: rgba(177, 156, 217, 0.1);
    --text: #f0f0f5;
    --text-muted: #6b7280;
    --text-dim: #4a4a5a;
    --border: rgba(255, 255, 255, 0.08);
    --success: #22c55e;
    --error: #ef4444;

    /* Typography */
    --font-main: 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) {
    body { cursor: auto; }
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: none;
}

@media (max-width: 768px) {
    button { cursor: pointer; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg,
        #ff6b6b,
        #feca57,
        #48dbfb,
        #ff9ff3,
        var(--wystera)
    );
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(177, 156, 217, 0.5);
}

/* ============================================
   LOGO ICON
   ============================================ */
.logo-icon {
    display: grid;
    grid-template-columns: repeat(2, 8px);
    gap: 3px;
    margin-right: 10px;
}

.logo-block {
    width: 8px;
    height: 8px;
    background: var(--wystera);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-bounce), background 0.3s;
}

.nav-logo:hover .logo-block:nth-child(1) {
    transform: translate(-2px, -2px) rotate(-10deg);
    background: #ff6b6b;
}

.nav-logo:hover .logo-block:nth-child(2) {
    transform: translate(2px, -2px) rotate(10deg);
    background: #feca57;
}

.nav-logo:hover .logo-block:nth-child(3) {
    transform: translate(-2px, 2px) rotate(10deg);
    background: #48dbfb;
}

.nav-logo:hover .logo-block:nth-child(4) {
    transform: translate(2px, 2px) rotate(-10deg);
    background: #ff9ff3;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--wystera);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-out),
                height 0.2s var(--ease-out),
                border-color 0.2s,
                background 0.2s;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background: var(--wystera-subtle);
    border-color: var(--wystera);
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--wystera);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .cursor, .cursor-trail { display: none; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--space-lg);
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 4px 8px;
    background: var(--wystera);
    color: var(--bg);
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wystera);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--wystera);
    color: var(--bg);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--wystera-glow);
}

.cta-arrow {
    transition: transform 0.3s var(--ease-out);
}

.nav-cta:hover .cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .nav-cta { display: none; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-link {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-link:hover {
    color: var(--wystera);
}

.mobile-link.accent {
    color: var(--wystera);
    font-size: 1.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(177, 156, 217, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(177, 156, 217, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--wystera-glow) 0%, transparent 60%);
    opacity: 0.4;
    filter: blur(80px);
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

.floating-blocks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.block {
    position: absolute;
    background: linear-gradient(135deg, var(--wystera-dim) 0%, var(--wystera) 100%);
    border-radius: 4px;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.block-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.block-2 {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 15%;
    animation-delay: -4s;
}

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

.block-4 {
    width: 30px;
    height: 30px;
    bottom: 20%;
    right: 25%;
    animation-delay: -12s;
}

.block-5 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 10%;
    animation-delay: -16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) rotate(2deg);
    }
}

/* Gaming effects */
.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

.pixel-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.pixel {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--wystera);
    opacity: 0.6;
    animation: pixelRise 8s linear infinite;
}

.pixel:nth-child(odd) {
    background: #ff6b6b;
    width: 6px;
    height: 6px;
}

.pixel:nth-child(3n) {
    background: #48dbfb;
    width: 10px;
    height: 10px;
}

@keyframes pixelRise {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.badge-pixel {
    font-size: 0.6rem;
    animation: pixelBlink 1s steps(2) infinite;
    margin-left: 4px;
}

@keyframes pixelBlink {
    0%, 100% { opacity: 1; color: var(--wystera); }
    50% { opacity: 0.5; color: #ff6b6b; }
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: #ff6b6b;
    animation: glitch1 3s infinite linear alternate-reverse;
}

.glitch::after {
    color: #48dbfb;
    animation: glitch2 3s infinite linear alternate-reverse;
}

@keyframes glitch1 {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    92% { opacity: 0.8; transform: translate(-4px, 2px); }
    94% { opacity: 0; transform: translate(0); }
    96% { opacity: 0.8; transform: translate(4px, -2px); }
    98% { opacity: 0; }
}

@keyframes glitch2 {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    91% { opacity: 0.8; transform: translate(4px, -2px); }
    93% { opacity: 0; transform: translate(0); }
    95% { opacity: 0.8; transform: translate(-4px, 2px); }
    97% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--wystera);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

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

.title-line.accent {
    color: var(--wystera);
    text-shadow: 0 0 60px var(--wystera-glow);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s var(--ease-out) 1s both;
}

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

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--wystera);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--wystera);
    color: var(--bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--wystera-glow);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--wystera-dim);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--wystera);
    color: var(--wystera);
}

.btn-arrow {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: var(--space-md);
}

.stat-value {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--wystera);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

@media (max-width: 768px) {
    .stats-inner {
        gap: var(--space-lg);
    }
    .stat-divider {
        display: none;
    }
    .stat {
        flex: 1 1 40%;
    }
}

/* ============================================
   WORK SECTION
   ============================================ */
.work {
    padding: var(--space-2xl) var(--space-lg);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wystera);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--bg-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--text-dim);
}

.filter-btn.active {
    background: var(--wystera);
    color: var(--bg);
    border-color: var(--wystera);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.work-card.large {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .work-card.large {
        grid-column: span 1;
    }
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-surface);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    background: var(--wystera);
    color: var(--bg);
    border-radius: 4px;
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   CAROUSEL
   ============================================ */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s var(--ease-out);
}

.carousel-card {
    flex: 0 0 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.carousel-card .card-image {
    aspect-ratio: 16 / 9;
    position: relative;
    background: var(--bg-surface);
}

.carousel-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card .card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    z-index: 0;
}

.carousel-card .card-content {
    padding: var(--space-xl);
}

.carousel-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.carousel-card .card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    background: var(--wystera);
    color: var(--bg);
    border-radius: 4px;
}

.carousel-card .card-rating {
    color: var(--wystera);
    font-weight: 600;
}

.carousel-card .card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.carousel-card .card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.carousel-card .card-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.carousel-card .card-btn {
    padding: 12px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s var(--ease-out);
}

.carousel-card .card-btn:hover {
    background: var(--wystera);
    border-color: var(--wystera);
    color: var(--bg);
}

.carousel-card .card-reviews {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--wystera);
    border-color: var(--wystera);
    color: var(--bg);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--wystera);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 var(--space-md);
    }

    .carousel-btn {
        display: none;
    }

    .carousel-card .card-content {
        padding: var(--space-lg);
    }
}

.work-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--bg-elevated);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (max-width: 900px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.feature-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--bg-elevated);
    border-radius: 100px;
}

.visual-globe {
    font-size: 6rem;
    animation: globeSpin 20s linear infinite;
    filter: drop-shadow(0 0 20px var(--wystera-glow));
}

@keyframes globeSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-2xl) var(--space-lg);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-form {
    display: grid;
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 0 12px;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}

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

.form-group label {
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: 0;
    font-size: 0.75rem;
    color: var(--wystera);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wystera);
    transition: width 0.3s var(--ease-out);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-md);
}

.btn-submit .btn-loading,
.btn-submit .btn-success {
    display: none;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: flex; }

.btn-submit.success .btn-text { display: none; }
.btn-submit.success .btn-loading { display: none; }
.btn-submit.success .btn-success { display: block; }
.btn-submit.success {
    background: var(--success);
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

.contact-alt {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.contact-alt p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wystera);
    transition: opacity 0.3s;
}

.contact-email:hover {
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    background: var(--wystera);
    color: var(--bg);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .cursor, .cursor-trail {
        display: none;
    }
}
