:root {
    --primary-color: #2563EB;
    --secondary-color: #1E40AF;
    --accent-color: #3B82F6;
    --text-color: #1F2937;
    --text-muted: #6B7280;
    --background: #FFFFFF;
    --surface: #F9FAFB;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-code: 'Fira Code', 'Consolas', 'Monaco', monospace;
    --ide-bg: #1e1e1e;
    --ide-sidebar: #252526;
    --ide-header: #2d2d30;
    --ide-border: #3e3e42;
    --ide-text: #cccccc;
    --ide-text-muted: #969696;
    --ide-accent: #007acc;
    --ide-success: #4ec9b0;
    --ide-warning: #dcdcaa;
    --ide-error: #f44747;
}

[data-theme="dark"] {
    --primary-color: #3B82F6;
    --secondary-color: #2563EB;
    --accent-color: #60A5FA;
    --text-color: #F9FAFB;
    --text-muted: #9CA3AF;
    --background: #111827;
    --surface: #1F2937;
    --border: #374151;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    transform: translateZ(0);
}

[data-theme="dark"] header {
    background: rgba(17, 24, 39, 0.95);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

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

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

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

#theme-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    flex-shrink: 0;
}

#theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 200px;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1000;
    background: var(--border);
}

.scroll-progress {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.1s ease;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

section {
    margin-bottom: 4rem;
    width: 100%;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

.hero {
    padding: 4rem 0;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    hyphens: auto;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.services {
    background: var(--surface);
    padding: 3rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.service-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-compact {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.compact-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-image-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.profile-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.quick-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.quick-stat {
    text-align: center;
    flex: 1;
}

.quick-stat .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.quick-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

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

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 300px 1fr 1fr;
        gap: 3rem;
    }
}

.about-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-profile {
        margin-bottom: 0;
    }
}

.profile-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-image {
    position: relative;
    width: 220px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-image:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    filter: grayscale(20%) brightness(1.1) contrast(1.05);
}

.profile-image:hover img {
    filter: grayscale(0%) brightness(1.05) contrast(1.1);
    transform: scale(1.05);
}

.profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100% );
    opacity: 1;
    transition: var(--transition);
    pointer-events: none;
}

.profile-image:hover .profile-image-overlay {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .profile-image {
        width: 180px;
        height: 230px;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 160px;
        height: 200px;
        border-width: 3px;
    }
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.profile-image::after {
    content: 'K';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.profile-image img:not([src]),
.profile-image img[src=""],
.profile-image img[src="assets/images/karol-photo.jpg"]:not([alt]) {
    opacity: 0;
}

.profile-image:has(img:not([src])) ::before,
.profile-image:has(img[src=""]) ::before,
.profile-image:has(img[src="assets/images/karol-photo.jpg"]:not([alt])) ::before {
    opacity: 1;
}

.profile-image:has(img:not([src])) ::after,
.profile-image:has(img[src=""]) ::after,
.profile-image:has(img[src="assets/images/karol-photo.jpg"]:not([alt])) ::after {
    opacity: 1;
}

.about-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-highlights {
    display: grid;
    gap: 1.25rem;
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.highlight-item p {
    font-size: 0.95rem;
}

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

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-card {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-info .stat-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-info .stat-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

.testimonial-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    z-index: 1;
    font-size: 28px;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.rating {
    color: #fbbf24;
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.expertise {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(37, 99, 235, 0.03) 100%);
    width: 100%;
}

.ide-container {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ide-window {
    background: var(--ide-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ide-border);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: translateZ(0);
    transition: var(--transition);
}

.ide-window:hover {
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ide-header {
    background: var(--ide-header);
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    border-bottom: 1px solid var(--ide-border);
    width: 100%;
    box-sizing: border-box;
}

.window-controls {
    display: flex;
    gap: 6px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.control:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.ide-title {
    color: var(--ide-text);
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.ide-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--ide-text-muted);
    padding: 3px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ide-text);
}

.ide-body {
    display: flex;
    height: 450px;
    width: 100%;
    flex-direction: row;
    overflow: hidden;
}

.ide-sidebar {
    width: 220px;
    height: auto;
    background: var(--ide-sidebar);
    border-right: 1px solid var(--ide-border);
    padding: 0.75rem 0;
    transition: var(--transition);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 0.75rem;
    height: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    margin-bottom: 0.4rem;
}

.section-title {
    color: var(--ide-text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-btn {
    background: transparent;
    border: none;
    color: var(--ide-text-muted);
    padding: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.section-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.file-tree {
    padding: 0 0.75rem;
    height: auto;
    display: block;
}

.folder {
    display: flex;
    color: var(--ide-text);
    font-size: 12px;
    margin-bottom: 0.4rem;
    align-items: center;
    gap: 0.4rem;
}

.folder-icon {
    color: var(--ide-accent);
}

.file-list {
    flex-direction: column;
    gap: 2px;
    margin-left: 0.75rem;
    padding: 0;
    overflow: visible;
    height: auto;
    align-items: stretch;
}

.file {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.4rem;
    color: var(--ide-text);
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
    justify-content: flex-start;
    min-width: auto;
    min-height: 28px;
    margin-bottom: 1px;
}

.file:hover {
    background: rgba(255, 255, 255, 0.1);
}

.file.active {
    background: var(--ide-accent);
    color: white;
}

.file-icon {
    font-size: 11px;
    flex-shrink: 0;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.ide-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.editor-tabs {
    display: flex;
    background: var(--ide-header);
    border-bottom: 1px solid var(--ide-border);
    padding: 0 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
    min-height: 32px;
}

.editor-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    color: var(--ide-text-muted);
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    border-right: 1px solid var(--ide-border);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    min-width: auto;
    justify-content: flex-start;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ide-text);
}

.tab.active {
    background: var(--ide-bg);
    color: var(--ide-text);
    border-bottom: 1px solid var(--ide-bg);
}

.tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ide-accent);
}

.tab-icon {
    font-size: 11px;
    flex-shrink: 0;
}

.tab-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.tab-close {
    display: flex;
    background: transparent;
    border: none;
    color: var(--ide-text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-left: 0.4rem;
    border-radius: 2px;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tab-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ide-text);
}

.editor-content {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 0;
    width: 100%;
}

.line-numbers {
    background: var(--ide-bg);
    color: var(--ide-text-muted);
    font-family: var(--font-code);
    font-size: 12px;
    line-height: 1.5;
    padding: 0.75rem 0.25rem;
    text-align: right;
    user-select: none;
    border-right: 1px solid var(--ide-border);
    min-width: 35px;
    flex-shrink: 0;
}

.line-number {
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.25rem;
}

.code-editor {
    flex: 1;
    position: relative;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a var(--ide-bg);
}

.code-editor::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-editor::-webkit-scrollbar-track {
    background: var(--ide-bg);
    border-radius: 4px;
}

.code-editor::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
    border-radius: 4px;
    border: 1px solid var(--ide-bg);
    box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.1);
}

.code-editor::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.code-editor::-webkit-scrollbar-corner {
    background: var(--ide-bg);
}

.code-block {
    display: none;
    font-family: var(--font-code);
    font-size: 12px;
    line-height: 1.5;
    color: var(--ide-text);
    padding: 0.75rem;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
    height: 100%;
    min-height: 200px;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
    box-sizing: border-box;
}

.code-block.active {
    display: block;
}

.html-tag {
    color: #569cd6;
    font-weight: 500;
}

.html-attr {
    color: #9cdcfe;
}

.html-string {
    color: #ce9178;
}

.doctype {
    color: #569cd6;
    font-weight: 600;
}

.css-selector {
    color: #d7ba7d;
    font-weight: 500;
}

.css-property {
    color: #9cdcfe;
}

.css-value {
    color: #ce9178;
}

.css-at-rule {
    color: #c586c0;
    font-weight: 500;
}

.css-pseudo {
    color: #dcdcaa;
}

.js-keyword {
    color: #569cd6;
    font-weight: 600;
}

.js-string {
    color: #ce9178;
}

.js-number {
    color: #b5cea8;
}

.js-function {
    color: #dcdcaa;
    font-weight: 500;
}

.js-property {
    color: #9cdcfe;
}

.comment {
    color: #6a9955;
    font-style: italic;
    opacity: 0.8;
}

.code-cursor {
    background: var(--ide-text);
    color: var(--ide-bg);
    animation: code-blink 1s infinite;
    padding: 0 1px;
}

@keyframes code-blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.ide-status {
    background: var(--ide-accent);
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 11px;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}

.status-left,
.status-right {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    overflow: hidden;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-icon {
    font-size: 9px;
    flex-shrink: 0;
}

.performance-metrics {
    margin-top: 3rem;
    width: 100%;
}

.metrics-header {
    text-align: center;
    margin-bottom: 2rem;
}

.metrics-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.metrics-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.metric-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    min-height: 100px;
    width: 100%;
}

[data-theme="dark"] .metric-card {
    background: rgba(31, 41, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient( circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1) 0%, transparent 50% );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.metric-icon {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.3));
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    display: block;
}

.metric-label {
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.animated-number {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-optimized {
    width: 100%;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.phone-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.phone-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.phone-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.phone-intro p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card.touch-interactive {
    cursor: pointer;
    user-select: none;
}

.feature-card.touch-interactive:active {
    transform: scale(0.98);
    background: var(--surface);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.speed-demo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.speed-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.speed-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06d6a0);
    width: 0;
    border-radius: 3px;
    animation: speedFill 2s ease-out infinite;
}

@keyframes speedFill {
    0% {
        width: 0;
    }
    50% {
        width: 85%;
    }
    100% {
        width: 85%;
    }
}

.speed-demo span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.touch-demo {
    display: flex;
    justify-content: center;
}

.touch-targets {
    display: flex;
    gap: 0.5rem;
}

.touch-point {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: touchPulse 1.5s ease-in-out infinite;
}

.touch-point:nth-child(2) {
    animation-delay: 0.2s;
}

.touch-point:nth-child(3) {
    animation-delay: 0.4s;
}

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

.responsive-demo {
    display: flex;
    justify-content: center;
}

.screen-sizes {
    display: flex;
    align-items: end;
    gap: 0.25rem;
}

.screen {
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.3;
    transition: var(--transition);
}

.screen.desktop {
    width: 20px;
    height: 12px;
}

.screen.tablet {
    width: 15px;
    height: 18px;
}

.screen.mobile {
    width: 8px;
    height: 20px;
}

.screen.active {
    opacity: 1;
    animation: screenGlow 2s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 15px var(--primary-color);
    }
}

.mobile-showcase-cta {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
}

.mobile-showcase-cta h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.mobile-showcase-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mobile-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.benefit svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.holographic-contact {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.holo-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(37, 99, 235, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: holoFloat 6s ease-in-out infinite;
}

@keyframes holoFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(2deg);
    }
}

.holo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.holo-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.avatar-inner {
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.holo-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.holo-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

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

.holo-body {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.contact-btn:active {
    transform: translateY(0);
}

.btn-icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn span {
    font-size: 0.85rem;
    font-weight: 600;
}

.location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.location-icon {
    color: var(--primary-color);
}

.holo-cta {
    text-align: center;
}

.holo-cta p {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.holo-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.hologram-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: holoScan 4s ease-in-out infinite;
}

.hologram-line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.hologram-line:nth-child(2) {
    top: 50%;
    animation-delay: 1.3s;
}

.hologram-line:nth-child(3) {
    top: 80%;
    animation-delay: 2.6s;
}

@keyframes holoScan {
    0%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

[data-theme="dark"] .holo-card {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .contact-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .contact-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-color);
}

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

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-methods {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.method-icon {
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.method-info h4 {
    color: var(--text-color);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.method-info a,
.method-info span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-word;
}

.method-info a:hover {
    color: var(--primary-color);
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

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

.contact-form-container {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    width: 100%;
}

.contact-form h3 {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

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

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--text-color);
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 2rem 1rem 1.5rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 2rem;
        text-align: left;
    }
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.link-group h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

#to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 1000;
    min-width: 45px;
    min-height: 45px;
}

#to-top.show {
    opacity: 1;
    transform: translateY(0);
}

#to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: calc(100vw - 2rem);
    font-size: 0.9rem;
    text-align: center;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.first-customer-benefits {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.first-customer-benefits h3 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.benefit-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.benefit-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none !important;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .stat {
        min-width: auto;
        flex: 0 0 auto;
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .services {
        padding: 2rem 0;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    .service-card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .contact-content.desktop-only {
        display: none !important;
    }

    .holographic-contact.mobile-only {
        display: flex !important;
    }

    .testimonials {
        display: none !important;
    }

    .first-customer-benefits {
        display: none !important;
    }

    section {
        margin-bottom: 2.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .mobile-optimized {
        padding: 2rem 1rem;
    }

    .phone-intro h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .phone-intro p {
        font-size: 0.9rem;
        max-width: 280px;
    }

    .mobile-features {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .mobile-showcase-cta {
        padding: 1.5rem 1rem;
    }

    .mobile-benefits {
        gap: 0.75rem;
    }

    .holographic-contact {
        padding: 2rem 1rem;
        margin: 0 auto;
    }

    .holo-card {
        margin: 0 auto;
        max-width: 320px;
    }
}

@media (min-width: 769px) {
    .holographic-contact.mobile-only {
        display: none !important;
    }

    .contact-content.desktop-only {
        display: grid !important;
    }

    .testimonials {
        display: block !important;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero h1 {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .hero-stats {
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat {
        text-align: center;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

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

    section {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .services {
        padding: 1.5rem 0;
    }

    .services-grid {
        padding: 0 0.75rem !important;
    }

    .service-card {
        max-width: 280px !important;
    }

    .about-compact {
        padding: 1.25rem;
    }

    .compact-profile {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .profile-image-small {
        width: 50px;
        height: 50px;
    }

    .profile-info h3 {
        font-size: 1rem;
    }

    .profile-info p {
        font-size: 0.8rem;
    }

    .quick-stat .stat-number {
        font-size: 1.1rem;
    }

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

    .mobile-optimized {
        padding: 1.5rem 0.75rem;
    }

    .phone-intro h3 {
        font-size: 1.2rem;
    }

    .phone-intro p {
        font-size: 0.85rem;
        max-width: 260px;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .mobile-showcase-cta {
        padding: 1.25rem 0.75rem;
    }

    .mobile-showcase-cta h4 {
        font-size: 1.1rem;
    }

    .mobile-showcase-cta p {
        font-size: 0.85rem;
    }

    .benefit {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .holo-card {
        padding: 1.25rem;
        max-width: 280px;
    }

    .holo-header {
        margin-bottom: 1.5rem;
    }

    .holo-avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-inner {
        font-size: 1.2rem;
    }

    .holo-info h3 {
        font-size: 1.1rem;
    }

    .contact-grid {
        gap: 0.75rem;
    }

    .contact-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat {
        min-width: auto;
    }

    .quick-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-benefits {
        gap: 0.5rem;
    }

    .benefit {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

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

    .service-card {
        max-width: 250px !important;
    }
}

.ide-window,
.metric-card,
.feature-card,
.profile-image {
    will-change: transform;
    transform: translateZ(0);
}

.code-block {
    will-change: contents;
}

.feature-card:active,
.contact-btn:active {
    transform: scale(0.95);
}

.btn:active,
.metric-card:active {
    transform: scale(0.98);
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-4px);
    }

    .metric-card:hover {
        transform: translateY(-3px) scale(1.02);
    }

    .feature-card:hover {
        transform: translateY(-4px);
    }

    .profile-image:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (hover: none) {
    .service-card:hover,
    .metric-card:hover,
    .feature-card:hover,
    .profile-image:hover {
        transform: none;
        background: initial;
    }

    .profile-image:hover img {
        filter: initial;
        transform: none;
    }

    .profile-image:hover .profile-image-overlay {
        opacity: 1;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

* {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .status-indicator {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-nav-link {
        white-space: nowrap;
        overflow: visible;
        text-overflow: initial;
        width: auto;
        min-width: 180px;
        justify-content: flex-start;
    }

    .mobile-nav-link span {
        overflow: visible;
        text-overflow: initial;
    }

    .mobile-menu {
        padding: 2rem;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .mobile-nav-link {
        font-size: 1.1rem;
        min-width: 160px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 360px) {
    .mobile-nav-link {
        font-size: 1rem;
        min-width: 140px;
        padding: 0.75rem 1rem;
    }
}
