/* Landing Page Styles - Modern & Beautiful Design */

/* Full page background canvas */
#pageBackgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* CSS Variables - Updated to match main.css exactly */
:root {
    --bg: #f9fafe;
    --bg-soft: #ffffff;
    --text: #1b1e21;
    --muted: rgb(77, 91, 124);
    --primary: #ff0030;
    --primary-600: #e01319;
    --accent: #1b1e21;
    --brand-blue: #6090f0;
    --card: #ffffff;
    --line: rgba(0,0,0,0.08);
    --radius: 14px;
    --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    --accent-color: #a31c05;
    --footer-bg: #242424;
    --gradient-footer: linear-gradient(135deg, #242424 0%, #2d2d2d 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 64px 0;
}

/* Header Styles */
.landing-header {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--line);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 0 16px rgba(0,0,0,0.05);
}

.landing-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.logo .separator {
    width: 1px;
    height: 18px;
    background: var(--line);
    margin: 0 8px;
    align-self: center;
}

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

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    opacity: 0.9;
    padding: 6px 8px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
    opacity: 1;
}

.nav-link.active::after {
    display: none;
}

.nav-link:hover::after {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg));
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    z-index: 2;
    margin-top: 44px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 144, 240, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--text);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

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

.title-line.highlight {
    background: var(--brand-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: var(--muted);
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    white-space: nowrap;
    min-height: 48px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ff1a4a 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 0, 48, 0.25), 
                0 2px 8px rgba(255, 0, 48, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e01319 0%, #ff0030 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(255, 0, 48, 0.35), 
                0 4px 16px rgba(255, 0, 48, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 24px rgba(255, 0, 48, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 2px solid rgba(96, 144, 240, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(96, 144, 240, 0.1),
                0 2px 8px rgba(96, 144, 240, 0.05);
}

.btn-secondary:hover {
    background: rgba(96, 144, 240, 0.1);
    border-color: rgba(96, 144, 240, 0.4);
    color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(96, 144, 240, 0.15),
                0 4px 12px rgba(96, 144, 240, 0.1);
}

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

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

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-height: 56px;
    border-radius: 14px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 580px;
    transform: perspective(1200px) rotateY(-12deg) rotateX(8deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(96, 144, 240, 0.2);
    position: relative;
}

.code-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 144, 240, 0.1) 0%, rgba(255, 0, 48, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.code-window:hover {
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) scale(1.02);
    box-shadow: 
        0 35px 100px rgba(0, 0, 0, 0.4),
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.code-window:hover::before {
    opacity: 1;
}

.window-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.window-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 144, 240, 0.3), transparent);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.control::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.control-close { 
    background: #ff5f56;
    box-shadow: 0 0 8px rgba(255, 95, 86, 0.4);
}
.control-minimize { 
    background: #ffbd2e;
    box-shadow: 0 0 8px rgba(255, 189, 46, 0.4);
}
.control-maximize { 
    background: #27ca3f;
    box-shadow: 0 0 8px rgba(39, 202, 63, 0.4);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.file-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.6));
}

.modified-indicator {
    color: #ffa726;
    font-size: 0.7rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.window-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    color: #718096;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

.window-content {
    display: flex;
    background: #0d1117;
    color: #c9d1d9;
    font-family: 'Fira Code', 'JetBrains Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    min-height: 280px;
    position: relative;
}

.line-numbers {
    background: #161b22;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0.75rem;
    color: #7d8590;
    font-size: 0.75rem;
    user-select: none;
    display: flex;
    flex-direction: column;
    min-width: 45px;
    text-align: right;
}

.line-number {
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: color 0.2s ease;
}

.line-number:hover {
    color: #c9d1d9;
}

.code-content {
    flex: 1;
    padding: 1rem 1.25rem;
    overflow: hidden;
}

.code-line {
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}

.typing-text {
    opacity: 0;
    animation: typeIn 0.1s ease-out forwards;
}

.cursor {
    display: inline-block;
    background: #58a6ff;
    width: 2px;
    height: 1.2rem;
    margin-left: 1px;
    animation: blink 1s infinite;
    opacity: 1;
    position: relative;
    top: 1px;
}

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

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

.window-footer {
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: #7d8590;
}

.status-item {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #c9d1d9;
}

/* Syntax highlighting */
.keyword { color: #ff7b72; }
.class-name { color: #7ee787; }
.method-name { color: #79c0ff; }
.string { color: #a5d6ff; }
.comment { color: #8b949e; font-style: italic; }
.annotation { color: #ffa657; }

.indent-1 { padding-left: 1.5rem; }
.indent-2 { padding-left: 3rem; }

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--brand-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

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

/* Section Separator */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: var(--bg-soft);
}

.separator-line {
    height: 1px;
    background: var(--line);
    flex: 1;
    max-width: 200px;
    transition: var(--transition);
}

.section-separator:hover .separator-line {
    background: var(--brand-blue);
    opacity: 0.5;
}

.separator-icon {
    width: 40px;
    height: 40px;
    background: var(--card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.separator-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    transition: var(--transition);
}

.separator-icon:hover {
    background: rgba(96, 144, 240, 0.05);
    border-color: var(--brand-blue);
    transform: scale(1.05);
}

.separator-icon:hover svg {
    color: var(--brand-blue);
    transform: rotate(5deg);
}

/* Services Section */
.services-section {
    padding: 24px 0 70px 0;
    background: var(--bg-soft);
    position: relative;
    z-index: 2;
}

.services-section h2 {
    font-weight: 700;
    font-size: 32px;
    margin: 0 20px 24px;
    text-align: center;
}

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

.service-card {
    background: var(--card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16,24,40,0.12);
}

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

.card-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    background: rgba(96, 144, 240, 0.05);
}

.card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    stroke-width: 1.5;
}

.service-card:hover .card-icon {
    background: rgba(96, 144, 240, 0.1);
    border-color: var(--brand-blue);
}

.service-card:hover .card-icon svg {
    color: var(--brand-blue);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.3;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

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

/* Technologies Section */
.technologies-section {
    padding: 64px 0;
    background: var(--bg);
    position: relative;
    z-index: 2;
}

.technologies-section h2 {
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 24px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--card);
    backdrop-filter: blur(5px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16,24,40,0.12);
}

/* Special icon sizes for specific technologies */
.tech-item img[src*="kubernetes.svg"],
.tech-item img[src*="nexus.svg"] {
    width: 32px;
    height: 32px;
}

/* Regular tech icon styles */
.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

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

.tech-item p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Process Section */
.process-section {
    padding: 64px 0;
    background: var(--bg-soft);
    position: relative;
    z-index: 2;
}

.process-section h2 {
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 24px;
    text-align: center;
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--brand-blue), transparent);
    transform: translateX(-50%);
    opacity: 0.6;
    animation: timelineGlow 3s ease-in-out infinite;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: stepReveal 0.8s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.5s; }
.process-step:nth-child(4) { animation-delay: 0.7s; }

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #7ba3f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(96, 144, 240, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: stepNumberFloat 3s ease-in-out infinite;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #7ba3f2 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: stepNumberPulse 2s ease-in-out infinite;
}

.step-number:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(96, 144, 240, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.step-number:hover::before {
    animation: stepNumberPulse 0.6s ease-in-out infinite;
}

.step-content {
    flex: 1;
    padding: 0 2rem;
    text-align: center;
    background: var(--card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 144, 240, 0.1), transparent);
    transition: left 0.6s ease;
}

.step-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.15);
    border-color: var(--brand-blue);
}

.step-content:hover::before {
    left: 100%;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step-content p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--bg-soft) 0%, rgba(96, 144, 240, 0.02) 100%);
    color: var(--text);
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-card {
    background: var(--card);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(16, 24, 40, 0.1), 
                0 8px 24px rgba(16, 24, 40, 0.05);
    border: 1px solid rgba(96, 144, 240, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--brand-blue), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 80px rgba(16, 24, 40, 0.15), 
                0 12px 32px rgba(16, 24, 40, 0.1);
    border-color: rgba(96, 144, 240, 0.2);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(96, 144, 240, 0.1) 0%, rgba(255, 0, 48, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid rgba(96, 144, 240, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.cta-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--brand-blue), var(--primary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-card:hover .cta-icon::before {
    opacity: 0.3;
}

.cta-card:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(96, 144, 240, 0.2) 0%, rgba(255, 0, 48, 0.1) 100%);
    border-color: rgba(96, 144, 240, 0.4);
}

.cta-icon svg {
    width: 36px;
    height: 36px;
    color: var(--brand-blue);
    transition: all 0.3s ease;
}

.cta-card:hover .cta-icon svg {
    color: var(--primary);
    transform: scale(1.1);
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.landing-footer {
    background: var(--gradient-footer);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #888888;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(12px) scale(0.996);
    transition: all 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal.is-visible,
.reveal.animate {
    opacity: 1;
    transform: none;
}

/* Обратная совместимость для класса animate */
.animate {
    opacity: 1;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-nav {
        display: none;
    }
    
    .hamburger {
        display: inline-flex !important;
        position: absolute;
        top: 0;
        right: 0;
        height: 44px;
        width: 48px;
        padding: 0;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        background: transparent;
        border: none;
    }
    
    .hamburger > div {
        position: relative;
        top: 0;
        left: 0;
        background: var(--text);
        height: 2px;
        width: 24px;
        transition: all 0.4s ease;
        border-radius: 2px;
    }

    .hamburger > div::before,
    .hamburger > div::after {
        content: '';
        position: absolute;
        top: -7px;
        background: var(--text);
        width: 100%;
        height: 2px;
        transition: all 0.4s ease;
        border-radius: 2px;
    }

    .hamburger > div::after {
        top: 7px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .code-window {
        max-width: 100%;
        transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
        margin: 0 10px;
    }
    
    .window-content {
        min-height: 220px;
        font-size: 0.7rem;
    }
    
    .window-title {
        font-size: 0.75rem;
    }
    
    .line-numbers {
        min-width: 35px;
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .code-content {
        padding: 0.75rem 0.75rem;
    }
    
    .status-bar {
        font-size: 0.65rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        padding: 0 10px;
    }
    
    .process-timeline::before {
        left: 25px;
        width: 1px;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        padding-left: 60px;
        position: relative;
    }
    
    .process-step:nth-child(even) {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .step-content {
        padding: 0.75rem;
        text-align: left;
        margin: 0;
        width: 100%;
        background: var(--card);
        border-radius: 8px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .services-section {
        padding: 30px 0 30px 0;
    }
    
    .technologies-section,
    .process-section,
    .cta-section {
        padding: 30px 0;
    }
    
    .process-section .container {
        padding: 0 15px;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
        margin: 0 15px;
        border-radius: 16px;
    }
    
    .cta-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1.5rem;
    }
    
    .cta-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-card p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .services-section,
    .technologies-section,
    .process-section,
    .cta-section {
        padding: 25px 0;
    }
    
    .services-section h2,
    .technologies-section h2,
    .process-section h2 {
        font-size: 1.5rem;
        margin: 0 12px 20px;
        line-height: 1.2;
    }
    
    .process-timeline {
        padding: 0 5px;
        max-width: 100%;
    }
    
    .process-step {
        padding-left: 50px;
        margin-bottom: 1.25rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 0.6rem;
        border-radius: 6px;
    }
    
    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .step-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .cta-card {
        padding: 2rem 1.25rem;
        margin: 0 12px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
    
    .cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
    
    .code-window {
        transform: perspective(600px) rotateY(-5deg) rotateX(2deg);
        margin: 0 5px;
    }
    
    .window-content {
        min-height: 200px;
        font-size: 0.65rem;
    }
    
    .window-header {
        padding: 0.5rem 0.75rem;
    }
    
    .window-title {
        font-size: 0.7rem;
    }
    
    .line-numbers {
        min-width: 30px;
        padding: 0.5rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .code-content {
        padding: 0.5rem 0.6rem;
    }
    
    .control {
        width: 10px;
        height: 10px;
    }
    
    .action-btn {
        font-size: 0.7rem;
        padding: 0.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        min-height: 42px;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .process-section {
        padding: 20px 0;
    }
    
    .process-section h2 {
        font-size: 1.4rem;
        margin: 0 8px 15px;
    }
    
    .process-timeline {
        padding: 0;
        margin: 0;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 45px;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        left: 0;
    }
    
    .step-content {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .step-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
        line-height: 1.25;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 5px;
    }
    
    .cta-card {
        padding: 1.75rem 1rem;
        margin: 0 10px;
        border-radius: 12px;
    }
    
    .cta-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.25rem;
    }
    
    .cta-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .cta-card h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .code-window {
        transform: perspective(400px) rotateY(-3deg) rotateX(1deg);
        margin: 0;
        max-width: 100%;
    }
    
    .window-content {
        min-height: 180px;
        font-size: 0.6rem;
        flex-direction: column;
    }
    
    .line-numbers {
        display: none; /* Скрываем номера строк на очень маленьких экранах */
    }
    
    .code-content {
        padding: 0.5rem;
    }
    
    .window-header {
        padding: 0.4rem 0.6rem;
    }
    
    .window-title {
        font-size: 0.65rem;
        position: static;
        transform: none;
    }
    
    .window-actions {
        display: none; /* Скрываем кнопки действий */
    }
    
    .window-footer {
        padding: 0.3rem 0.6rem;
    }
    
    .status-bar {
        font-size: 0.6rem;
        justify-content: center;
    }
    
    .status-item:not(:first-child) {
        display: none; /* Показываем только первый элемент статуса */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Mobile nav */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
}

@media (max-width: 1280px) {
    .navbar {
        display: none;
    }
    
    .hamburger {
        display: inline-flex !important;
        position: absolute;
        top: 0;
        right: 0;
        height: 44px;
        width: 48px;
        padding: 0;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        background: transparent;
        border: none;
    }
}

@media (max-width: 1280px) {
    .hamburger > div,
    .hamburger > div::before,
    .hamburger > div::after {
        content: "";
        display: block;
        height: 2px;
        width: 24px;
        background: var(--text);
        border-radius: 2px;
        position: relative;
        transition: all 0.4s ease;
    }

    .hamburger > div::before {
        position: absolute;
        top: -7px;
    }

    .hamburger > div::after {
        position: absolute;
        top: 7px;
    }
}

/* Mobile menu */
.menu {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 10000;
    will-change: transform, opacity;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 12px 20px;
    display: grid;
    gap: 8px;
}

.menu.is-open {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* Fallback для body класса */
body.menu-open .menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}

.menu a:hover {
    color: var(--brand-blue);
}

.mobile-title {
    color: #b0b0b0;
    padding: 8px 0 0;
    margin-top: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Card micro-interactions */
.service-card .icon svg {
    transition: transform .2s ease;
}

.service-card:hover .icon svg {
    transform: translateY(-2px);
}

.service-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.tech-item {
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Hero parallax */
.hero-illustration {
    transition: transform .3s ease;
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.01);
}

/* Responsive for business form */
@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-left h2 {
        font-size: 28px;
        padding-left: 0;
    }
    
    .form-left p {
        font-size: 16px;
        padding-left: 0;
    }
    
    .form-right {
        padding: 32px 24px;
    }
    
    .business-form {
        margin: 16px auto;
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .form-right {
        padding: 24px 16px;
    }
    
    .business-form-form input,
    .business-form-form button {
        padding: 14px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

.cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16,24,40,0.12);
}

.cta-card:hover .cta-icon {
    background: rgba(96, 144, 240, 0.15);
    border-color: var(--brand-blue);
}

.cta-card:hover .cta-icon svg {
    transform: scale(1.1);
}

.cta-icon svg {
    width: 30px;
    height: 30px;
    color: var(--brand-blue);
    transition: var(--transition);
}

/* Mega dropdown for services - smaller width */
.nav-item .dropdown.mega.services-mega {
    max-width: 600px;
    min-width: 500px;
}

.nav-item .dropdown.mega.services-mega .group {
    min-width: 250px;
}

/* Regular mega dropdown styles */
.nav-item .dropdown.mega {
    display: none;
    white-space: nowrap;
    padding: 8px;
    max-width: 1232px;
    min-width: 1200px;
    will-change: transform;
}

.nav-item .dropdown.mega::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -2px -2px 6px rgba(16,24,40,0.06);
    z-index: 1;
}

.nav-item .dropdown .group {
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    padding: 6px 8px;
    min-width: 200px;
}

.nav-item .dropdown .group .title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin: 0 0 8px;
    line-height: 1.2;
}

.nav-item .dropdown li {
    list-style: none;
}

.nav-item .dropdown a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: var(--text);
    border-radius: 8px;
}

.nav-item .dropdown a:hover {
    background: #f4f6fb;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item .dropdown:hover {
    display: block;
    opacity: 1;
    transform: translateX(var(--dd-left, 0));
    visibility: visible;
    transition-delay: 0s;
}

/* Process Section Animations */
@keyframes stepNumberFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes stepNumberPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes stepReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timelineGlow {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(96, 144, 240, 0.3);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(96, 144, 240, 0.5);
    }
}
