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

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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #1a1a1a;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #8c8c8c;
    --text-muted: #595959;
    --accent: #ffffff;
    --accent-dim: #404040;
    --border: #1f1f1f;
    --border-hover: #333333;
    --shadow: rgba(0, 0, 0, 0.8);
    --overlay: rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 0;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Subtle ambient background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: ambientMove 30s ease-in-out infinite;
}

@keyframes ambientMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, 5%); }
}

/* Minimalist Back Button */
.back-to-home-btn {
    position: fixed;
    top: 40px;
    left: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    backdrop-filter: blur(10px);
}

.back-to-home-btn:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateX(-6px);
    box-shadow: 0 4px 20px var(--shadow);
}

.back-to-home-btn:active {
    transform: translateX(-4px) scale(0.95);
}

.back-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.back-text {
    display: none;
}

@media (max-width: 768px) {
    .back-to-home-btn {
        top: 24px;
        left: 24px;
        width: 44px;
        height: 44px;
    }
}

/* Control Panel - Hidden */
.control-toggle,
.control-panel {
    display: none !important;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
}

@media (max-width: 1200px) {
    .container {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 60px 24px;
    }
}

/* Card */
.card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}

/* Header */
.header {
    text-align: left;
    margin-bottom: 140px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 0 40px 0;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.avatar:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avatar:hover::after {
    opacity: 1;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    line-height: 1.1;
    position: relative;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--text-primary);
    opacity: 0.3;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    max-width: 600px;
}

@media (max-width: 1024px) {
    .name {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .header {
        margin-bottom: 100px;
        padding-bottom: 60px;
    }
    
    .avatar {
        width: 64px;
        height: 64px;
        margin-bottom: 32px;
    }
    
    .name {
        font-size: 2.75rem;
    }
    
    .tagline {
        font-size: 1.0625rem;
    }
}

/* Section */
.section {
    margin-bottom: 140px;
}

.section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    margin-bottom: 56px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    padding-left: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: var(--text-muted);
}

/* Showcase Tabs */
.showcase-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 72px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.showcase-tabs::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    padding: 20px 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-btn:hover {
    color: var(--text-secondary);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .showcase-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .showcase-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 16px 20px;
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* Showcase Content */
.showcase-content {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1px;
    background: var(--border);
}

.showcase-content.active {
    display: grid;
}

@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .showcase-content {
        grid-template-columns: 1fr;
    }
}

/* Showcase Item */
.showcase-item {
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    aspect-ratio: 1.5/1;
    cursor: pointer;
}

.showcase-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.showcase-item:hover::before {
    opacity: 1;
}

.showcase-item:hover {
    z-index: 2;
}

.showcase-media {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.showcase-media img,
.showcase-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-item:hover .showcase-media img,
.showcase-item:hover .showcase-media video {
    transform: scale(1.08);
}

.showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-item:hover .showcase-info {
    transform: translateY(0);
    opacity: 1;
}

.showcase-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: block;
}

.showcase-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.showcase-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}

.showcase-tag:not(:last-child)::after {
    content: none;
}

/* Favorite Button */
.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.showcase-item:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.favorite-btn.active {
    opacity: 1;
    background: var(--text-primary);
    border-color: var(--text-primary);
}

.heart-icon {
    width: 16px;
    height: 16px;
    fill: var(--text-primary);
    transition: transform 0.3s ease;
}

.favorite-btn:hover .heart-icon {
    transform: scale(1.1);
}

.favorite-btn.active .heart-icon {
    fill: var(--bg-primary);
}

/* Video Play Icon */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    z-index: 10;
    pointer-events: none;
}

.play-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-left: 3px;
}

.video-thumbnail:hover .play-icon {
    background: rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service {
    background: var(--bg-card);
    padding: 56px 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
}

.service:hover::before {
    transform: scaleX(1);
}

.service:hover {
    background: var(--bg-secondary);
}

.service-name {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Service Tag */
.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 4px 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.service {
    position: relative; /* Add this to make absolute positioning work */
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service {
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    .service {
        padding: 40px 24px;
    }
}

/* Skills */
.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
}

.skill {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 24px 32px;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--text-primary);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.skill:hover::before {
    transform: scaleY(1);
}

.skill:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}

.faq-item {
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 28px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    color: var(--text-primary);
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--text-primary);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question span {
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
}

.faq-icon {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    fill: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--bg-card);
}

.faq-answer p {
    padding: 0 40px 28px 40px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-item.active {
    background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 24px 24px;
    }
    
    .faq-question span {
        font-size: 0.9375rem;
    }
    
    .faq-answer p {
        padding: 0 24px 24px 24px;
        font-size: 0.9375rem;
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.price-card {
    background: var(--bg-card);
    padding: 56px 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.price-card:hover::before {
    transform: scaleX(1);
}

.price-card:hover {
    background: var(--bg-secondary);
}

.price-card__header {
    margin-bottom: 32px;
}

.price-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.price-card:hover .price-card__icon {
    border-color: var(--border-hover);
}

.price-card__icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
}

.price-card__title {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.price-card__price {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.price-card__features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    border: none;
    line-height: 1.6;
}

.price-card__feature svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.price-card__cta {
    margin-top: auto;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 18px 28px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    overflow: hidden;
}

.price-card__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.price-card__cta:hover::before {
    transform: translateY(0);
}

.price-card__cta:hover {
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.price-card__note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card {
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    .price-card {
        padding: 40px 24px;
    }
}

/* Notes */
.note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 32px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.note::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--text-primary);
}

.note-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'JetBrains Mono', monospace;
}

.note-content {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .note {
        padding: 24px 28px;
    }
}

/* Contact */
.contact {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: translateY(0);
}

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

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

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

.btn-secondary::before {
    background: var(--bg-card);
}

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

.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Visitor Stats */
.visitor-stats {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.visitor-stats div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

#visitorCount {
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Modal */
.media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.media-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    animation: modalSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0;
    border: 1px solid var(--border);
}

.close-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.close-modal:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .close-modal {
        top: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }
}

/* Toast */
.toast {
    position: fixed;
    top: 40px;
    right: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 20px 28px;
    color: var(--text-primary);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(500px);
    opacity: 0;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow);
    font-family: 'JetBrains Mono', monospace;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .toast {
        top: 24px;
        right: 24px;
        left: 24px;
        padding: 16px 20px;
    }
}

/* Contact Form */
.contact-form {
    display: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--border-hover);
    background: var(--bg-secondary);
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    flex-shrink: 0;
}

.contact-method strong {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.contact-method span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.inquiry-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 48px;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'JetBrains Mono', monospace;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 18px 20px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-hover);
    background: var(--bg-tertiary);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.form-submit {
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 0;
    padding: 20px 32px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.form-submit:hover::before {
    transform: translateY(0);
}

.form-submit:hover {
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-submit:disabled:hover::before {
    transform: translateY(-100%);
}

.submit-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .inquiry-form {
        padding: 32px 24px;
    }
    
    .form-group {
        margin-bottom: 24px;
    }
    
    .contact-method {
        padding: 20px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 0;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dim);
}

/* Selection */
::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Hidden sections */
.section.hidden {
    display: none;
}

/* Smooth reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-item,
.service,
.skill,
.price-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.showcase-item:nth-child(1) { animation-delay: 0.05s; }
.showcase-item:nth-child(2) { animation-delay: 0.1s; }
.showcase-item:nth-child(3) { animation-delay: 0.15s; }
.showcase-item:nth-child(4) { animation-delay: 0.2s; }
.showcase-item:nth-child(5) { animation-delay: 0.25s; }
.showcase-item:nth-child(6) { animation-delay: 0.3s; }

/* Focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Loading state */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border: #333333;
        --border-hover: #555555;
        --text-secondary: #cccccc;
    }
}

/* Print styles */
@media print {
    body::before,
    .back-to-home-btn,
    .favorite-btn,
    .play-icon,
    .media-modal,
    .toast {
        display: none !important;
    }
    
    .showcase-item,
    .service,
    .price-card,
    .faq-item {
        break-inside: avoid;
    }
}