/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.nav-logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.8) 0%, 
        rgba(118, 75, 162, 0.8) 50%,
        rgba(255, 107, 107, 0.8) 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 70%;
    animation-delay: 1s;
}

.floating-element:nth-child(5) {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

/* Дополнительная обёртка внутри hero для контроля отступов */
.hero-inner {
    padding: 0 clamp(16px, 5vw, 40px); /* мягкая адаптация отступов по краям */
}

/* Отступ слева для основного контента на больших экранах */
.hero-content {
    padding-left: clamp(18px, 4vw, 32px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 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;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 0.9;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: white;
}

.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typeWriter 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 1s; }
.code-line:nth-child(2) { animation-delay: 1.5s; }
.code-line:nth-child(3) { animation-delay: 2s; }
.code-line:nth-child(4) { animation-delay: 2.5s; }

@keyframes typeWriter {
    to {
        opacity: 1;
    }
}

.code-keyword { color: #ff6b6b; }
.code-variable { color: #4ecdc4; }
.code-operator { color: #ffd700; }
.code-string { color: #98fb98; }
.code-function { color: #87ceeb; }
.code-bracket { color: #dda0dd; }
.code-indent { color: transparent; }

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.4rem;
    align-items: stretch;
}

@media (min-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) and (max-width:1199px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 40%, #eef2ff 100%);
    padding: 2.4rem 2.2rem 2.3rem;
    border-radius: 22px;
    text-align: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, background 0.9s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 26px -4px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(30, 41, 59, 0.08);
    will-change: transform;
}
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 18px 42px -6px rgba(99, 102, 241, 0.25), 0 8px 18px -4px rgba(30, 41, 59, 0.12);
    border-color: #cbd5e1;
}

.service-icon {
    width: 78px;
    height: 78px;
    background: linear-gradient(145deg, #6366f1, #8b5cf6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.3rem 0;
    transition: all 0.45s ease;
    box-shadow: 0 6px 18px rgba(99,102,241,0.35);
    position: relative;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 26px rgba(99,102,241,0.45);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: #1e293b;
    letter-spacing: 0.3px;
}

.service-card p {
    color: #4b5563;
    margin-bottom: 1.4rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-features span {
    background: rgba(99,102,241,0.08);
    color: #4f46e5;
    padding: 0.35rem 0.85rem;
    border-radius: 18px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(99,102,241,0.25);
    backdrop-filter: blur(2px);
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.service-features span:hover {
    background: rgba(99,102,241,0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}

/* Декоративная вспышка */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    opacity: 0;
}
.service-card:hover::before { animation: cardSheen 1.2s ease; }
@keyframes cardSheen {
    0% { left: -60%; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* Перспектива для 3D tilt */
.services-grid { perspective: 1200px; }

/* Плавное ступенчатое появление через класс .appear (JS добавит) */
.service-card { opacity: 0; transform: translateY(34px) scale(0.96); }
.service-card.appear { opacity: 1; transform: translateY(0) scale(1); }
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.10s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.20s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.30s; }

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Новый хедер портфолио */
.portfolio-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.portfolio-header h2 { 
    color:#ffffff !important; 
    font-size:2.6rem; 
    font-weight:700; 
    letter-spacing:0.5px;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}
.portfolio-header p { color:#e8eeff; font-weight:400; opacity:.9; }

/* Панель фильтров */
.portfolio-controls {
    display:flex;
    gap:.75rem;
    justify-content:center;
    flex-wrap:wrap;
    margin:0 auto 2.2rem;
}
.filter-btn {
    background:rgba(255,255,255,0.12);
    color:#fff;
    border:1px solid rgba(255,255,255,0.3);
    padding:.55rem 1.1rem;
    font-size:.85rem;
    border-radius:40px;
    cursor:pointer;
    backdrop-filter:blur(4px);
    transition:background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.filter-btn:hover { background:rgba(255,255,255,0.22); transform:translateY(-2px); }
.filter-btn.active { background:linear-gradient(135deg,#6366f1,#8b5cf6); box-shadow:0 6px 18px rgba(99,102,241,.45); border-color:transparent; }

/* Сетка проектов */
.projects-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:2.4rem;
    position:relative;
}

.project-card {
    position:relative;
    perspective:1200px;
    --border-gradient:linear-gradient(135deg,rgba(255,255,255,.4),rgba(255,255,255,.08));
    transition:transform .6s cubic-bezier(.4,0,.2,1), opacity .6s ease;
    opacity:0;
    transform:translateY(40px) scale(.96);
}
.project-card.reveal { opacity:1; transform:translateY(0) scale(1); }
.project-card:hover { transform:translateY(-8px) scale(1.02); }

.project-surface {
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.25);
    border-radius:26px;
    backdrop-filter:blur(12px) saturate(130%);
    position:relative;
    padding:1.15rem 1.05rem .95rem;
    box-shadow:0 16px 40px -8px rgba(15,23,42,.5), 0 4px 14px -4px rgba(15,23,42,.35);
    overflow:hidden;
}
.project-surface::before {
    content:''; position:absolute; inset:0; border-radius:inherit;
    padding:2px; background:linear-gradient(140deg,rgba(255,255,255,.55),rgba(255,255,255,.08));
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude; opacity:.6;
}
.project-surface::after {
    content:''; position:absolute; top:-30%; left:-30%; width:60%; height:60%;
    background:radial-gradient(circle at center, rgba(255,255,255,.35), rgba(255,255,255,0));
    transform:translate3d(0,0,0); transition:transform 1.2s ease; pointer-events:none;
}
.project-card:hover .project-surface::after { transform:translate3d(35%,40%,0); }

.project-thumb {
    height:140px;
    border-radius:18px;
    background:linear-gradient(135deg,#6366f1 0%, #8b5cf6 55%, #4ecdc4 100%);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
    margin:0 0 1.1rem;
    position:relative;
    overflow:hidden;
}
.project-thumb img {
    width:100%; height:100%; object-fit:cover; display:block;
    transition:transform .6s ease, filter .6s ease;
}
.project-card:hover .project-thumb img { transform:scale(1.08); filter:brightness(1.1); }
.project-thumb::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 35%,rgba(255,255,255,.35),rgba(255,255,255,0)); mix-blend-mode:screen; }
.project-card:hover .project-thumb { filter:brightness(1.05); }

.project-content { position: relative; z-index: 5; }
.project-content h3 { font-size:1.15rem; font-weight:600; color:#fff; margin:0 0 .6rem; letter-spacing:.3px; }
.project-desc { font-size:.82rem; line-height:1.45; color:#e5e9f7; margin:0 0 .9rem; }

.tech-stack { list-style:none; display:flex; flex-wrap:wrap; gap:.45rem; margin:0 0 .85rem; padding:0; }
.tech-stack li { font-size:.62rem; letter-spacing:.25px; padding:.4rem .65rem; border-radius:14px; background:rgba(255,255,255,.14); color:#fff; backdrop-filter:blur(3px); box-shadow:0 4px 10px rgba(15,23,42,.35); }

.project-meta { display:flex; gap:.5rem; flex-wrap:wrap; margin:0 0 .95rem; }
.meta-chip { font-size:.58rem; padding:.38rem .6rem; background:rgba(255,255,255,.18); border-radius:14px; letter-spacing:.25px; color:#fff; border:1px solid rgba(255,255,255,.3); }

.project-link {
    display:inline-block; font-size:.72rem; font-weight:600; text-decoration:none; padding:.55rem 1rem;
    border-radius:40px; background:linear-gradient(135deg,#ff6b6b,#ffa500); color:#fff;
    box-shadow:0 6px 18px rgba(255,107,107,.4); transition:transform .4s ease, box-shadow .4s ease;
    position: relative; z-index: 10; cursor: pointer;
}
.project-link:hover { transform:translateY(-3px); box-shadow:0 12px 26px rgba(255,107,107,.55); }

@media (max-width: 900px){
    .project-thumb { height:120px; }
    .portfolio-header h2 { font-size:2.1rem; }
}
@media (max-width: 600px){
    .projects-grid { gap:1.6rem; }
    .project-surface { padding:1rem .9rem .85rem; }
    .project-content h3 { font-size:1.05rem; }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: stretch;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent; /* убрали квадратную подложку */
    border: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: portfolioFadeIn 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes portfolioFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.portfolio-image {
    width: 100%;
    padding: 2.2rem 2.1rem;
    box-sizing: border-box;
    background: linear-gradient(140deg,
        rgba(99, 102, 241, 0.55) 0%,
        rgba(139, 92, 246, 0.50) 45%,
        rgba(56, 189, 248, 0.40) 100%);
    background-size: 160% 160%;
    animation: softHueShift 12s ease-in-out infinite;
    position: relative;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.35);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    outline: 1px solid rgba(255,255,255,0.25);
    outline-offset: -2px;
}

.portfolio-item:hover .portfolio-image {
    background-size: 175% 175%;
    box-shadow: 0 16px 44px rgba(30, 41, 59, 0.45);
    transform: scale(1.02);
    outline-color: rgba(255,255,255,0.38);
}

@keyframes softHueShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 55%; }
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: transparent;
    opacity: 1; /* всегда видимая область для статичного контента */
    pointer-events: none; /* отключаем события чтобы не мешать кликам по карточке */
}

.portfolio-info {
    text-align: center;
    color: #fdfcff;
    padding: 1.6rem 1.4rem 1.5rem;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.18), rgba(15,23,42,0.70));
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(30, 41, 59, 0.42);
    backdrop-filter: blur(14px) saturate(115%);
    transform: none;
    opacity: 1;
    transition: background 0.6s ease, box-shadow 0.6s ease;
    border: 1px solid rgba(255,255,255,0.22);
}

.portfolio-item:hover .portfolio-info {
    background: radial-gradient(circle at 45% 40%, rgba(255,255,255,0.22), rgba(15,23,42,0.76));
    box-shadow: 0 20px 48px rgba(30, 41, 59, 0.55);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.team-skills h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.skills-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-element {
    width: 400px;
    height: 400px;
    position: relative;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
}

.tech-item {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: techFloat 3s ease-in-out infinite;
}

.tech-item:nth-child(odd) {
    animation-delay: 1s;
}

.tech-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-details p {
    color: #64748b;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    grid-template-columns: 1fr;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #6366f1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-inner {
        padding: 0 18px;
    }
    
    .hero-content {
        padding-left: 0;
    }
    .hero-title {
        font-size: 2.5rem;
        padding: 0 10px; /* уменьшает прилипание заголовка к краю на мобильных */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        min-height: 180px; /* чуть меньше по высоте на мобильных */
    }
    .portfolio-image {
        padding: 2rem;
    }
    .portfolio-info {
        padding: 1.4rem 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-info {
        padding: 1.2rem 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Page Styles for Company Pages */

/* Page Header */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header .header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.4s;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Active Navigation Link */
.nav-menu a.active {
    color: #6366f1;
    font-weight: 600;
}

.nav-menu a.active::before {
    width: 100%;
}

/* Company Story Section */
.company-story {
    padding: 100px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 1.5rem;
}

.story-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #6366f1;
    margin-top: 0.2rem;
}

.highlight-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.highlight-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #6366f1;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #6366f1;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Mission & Vision */
.mission-vision {
    padding: 100px 0;
    background: #f8fafc;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.mv-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mv-icon i {
    font-size: 2rem;
    color: white;
}

.mv-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.mv-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Statistics Extended */
.stats-extended {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-extended .section-header h2,
.stats-extended .section-header p {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Technologies */
.technologies {
    padding: 100px 0;
    background: white;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.tech-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Approach */
.approach {
    padding: 100px 0;
    background: #f8fafc;
}

.approach-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #6366f1;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: #6366f1;
    min-width: 60px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Team Page Styles */
.team-intro {
    padding: 100px 0;
    background: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: #64748b;
    line-height: 1.7;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.intro-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
}

.intro-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.intro-stats .stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Team Sections */
.leadership-team, .development-team, .design-team, .management-team {
    padding: 80px 0;
}

.leadership-team {
    background: #f8fafc;
}

.development-team {
    background: white;
}

.design-team {
    background: #f8fafc;
}

.management-team {
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.photo-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-photo:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-role {
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.member-skills span {
    background: #f1f5f9;
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Team Culture */
.team-culture {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.culture-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.culture-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.culture-text .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.value-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.value-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.culture-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.culture-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.culture-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.culture-stat .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Join Team CTA */
.join-team-cta {
    padding: 100px 0;
    background: #f8fafc;
    text-align: center;
}

.join-team-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-team-cta p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* History Page Styles */
.timeline-section {
    padding: 100px 0;
    background: white;
}

.timeline-section .timeline {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline-section .timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.timeline-date {
    text-align: center;
    min-width: 100px;
}

.timeline-date .year {
    font-size: 1.8rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 0.2rem;
}

.timeline-date .month {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.timeline-content {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #6366f1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8fafc;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.timeline-icon i {
    font-size: 1.2rem;
    color: white;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-stats span {
    background: #6366f1;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-item.current .timeline-content {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.timeline-item.current .timeline-content h3,
.timeline-item.current .timeline-content p {
    color: white;
}

.timeline-item.current .timeline-stats span {
    background: rgba(255, 255, 255, 0.2);
}

/* Milestones Stats */
.milestones-stats {
    padding: 100px 0;
    background: #f8fafc;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.milestone-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.milestone-card.featured {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    transform: scale(1.05);
}

.milestone-year {
    font-size: 2rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 1rem;
}

.milestone-card.featured .milestone-year {
    color: white;
}

.milestone-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.milestone-card.featured h3 {
    color: white;
}

.milestone-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.milestone-stats .stat {
    text-align: center;
}

.milestone-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.2rem;
}

.milestone-card.featured .number {
    color: white;
}

.milestone-stats .label {
    font-size: 0.9rem;
    color: #64748b;
}

.milestone-card.featured .label {
    color: rgba(255, 255, 255, 0.8);
}

/* Company Evolution */
.company-evolution {
    padding: 100px 0;
    background: white;
}

.evolution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-evolution {
    margin-top: 2rem;
}

.tech-period {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #6366f1;
}

.tech-period h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tags span {
    background: #6366f1;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Growth Chart */
.growth-chart {
    position: relative;
    height: 300px;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100%;
    gap: 0.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    transform: scale(1.05);
}

.bar.current {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
}

.bar-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #64748b;
}

.chart-title {
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
    color: #1e293b;
}

/* Future Vision */
.future-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.future-vision h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.future-vision .lead {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.future-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.goal-icon i {
    font-size: 1.5rem;
    color: white;
}

.goal-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.goal-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design for Company Pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .story-content,
    .intro-content,
    .culture-content,
    .evolution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mv-grid,
    .stats-grid,
    .tech-categories,
    .team-grid,
    .milestones-grid,
    .future-goals {
        grid-template-columns: 1fr;
    }
    
    .timeline-section .timeline {
        padding-left: 2rem;
    }
    
    .timeline-section .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-date {
        text-align: left;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .culture-values {
        grid-template-columns: 1fr;
    }
    
    .milestone-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-bars {
        gap: 0.2rem;
    }
    
    .bar-value,
    .bar-label {
        font-size: 0.7rem;
    }
}
/* ==========================================
   PROJECT DETAIL PAGES STYLES
   ========================================== */

/* Project Hero */
.project-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-hero .breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.project-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.project-hero .breadcrumb a:hover {
    color: white;
}

.project-hero .breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.project-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.project-meta-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.meta-item i {
    opacity: 0.8;
}

.project-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Overview */
.project-overview {
    padding: 100px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.overview-main h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.overview-main h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: #334155;
}

.overview-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.project-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    border-left: 3px solid #e2e8f0;
    margin-bottom: 1rem;
}

.project-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.tech-stack-detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack-detailed span {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #6366f1;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
}

.team-list li:last-child {
    border-bottom: none;
}

.team-list i {
    color: #6366f1;
}

.project-budget {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0;
}

/* Project Results */
.project-results {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-results h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.result-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Project Gallery */
.project-gallery {
    padding: 100px 0;
    background: white;
}

.project-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.95rem;
}

/* Client Testimonial */
.client-testimonial {
    padding: 100px 0;
    background: #f8fafc;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: #6366f1;
    opacity: 0.3;
    margin-bottom: 2rem;
}

blockquote {
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #334155;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.author-info p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Next Project */
.next-project {
    padding: 100px 0;
    background: white;
}

.next-project h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.next-project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: center;
}

.next-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.next-project-image {
    border-radius: 15px;
    overflow: hidden;
}

.next-project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.next-project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.next-project-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.next-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive ��� ������� �������� */
@media (max-width: 992px) {
    .project-hero-content,
    .overview-grid,
    .next-project-card {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }
    
    .project-overview,
    .project-results,
    .project-gallery,
    .client-testimonial,
    .next-project {
        padding: 60px 0;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .overview-main h2 {
        font-size: 2rem;
    }
    
    blockquote p {
        font-size: 1.2rem;
    }
}
