/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Теплая оранжево-красная палитра */
    --primary-orange: #ff6b35;
    --secondary-red: #f7931e;
    --accent-yellow: #ffd23f;
    --coral: #ff8c69;
    --deep-orange: #e63946;
    --dark-bg: #0f0a0a;
    --darker-bg: #080505;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --shadow-orange: 0 0 20px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-red: 0 0 20px rgba(247, 147, 30, 0.5), 0 0 40px rgba(247, 147, 30, 0.3);
    --shadow-yellow: 0 0 20px rgba(255, 210, 63, 0.5), 0 0 40px rgba(255, 210, 63, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

/* Анимированный градиентный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--darker-bg) 0%, 
        #2a0f0a 25%, 
        #3d1a0f 50%, 
        #4a1f14 75%, 
        var(--darker-bg) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    opacity: 0.8;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Частицы на фоне */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 210, 63, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Glassmorphism Header */
.header {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red), var(--accent-yellow));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -1px;
    animation: gradientText 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-red));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-orange);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary-orange);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--secondary-red);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--secondary-red);
}

/* Полноэкранное меню */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu .nav-link {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu .nav-link:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu .nav-link:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu .nav-link:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu .nav-link:nth-child(4) { transition-delay: 0.4s; }
.fullscreen-menu .nav-link:nth-child(5) { transition-delay: 0.5s; }
.fullscreen-menu .nav-link:nth-child(6) { transition-delay: 0.6s; }

/* Hero Section с параллаксом */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-wrapper {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    will-change: transform;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.2) 0%, 
        rgba(247, 147, 30, 0.15) 50%, 
        rgba(255, 210, 63, 0.2) 100%);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red), var(--accent-yellow), var(--primary-orange));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 4s ease infinite;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(50px);
    animation: titleFadeIn 1s ease 0.3s forwards, gradientText 4s ease infinite 1.3s;
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    max-width: 800px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(30px);
    animation: subtitleFadeIn 1s ease 0.6s forwards;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes subtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: buttonsFadeIn 1s ease 0.9s forwards;
}

@keyframes buttonsFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-prev,
.hero-next {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-orange);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-neon-cyan);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot:hover {
    background: var(--primary-orange);
    box-shadow: 0 0 15px var(--primary-orange);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-orange);
    width: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-neon-cyan);
}

/* Glassmorphism Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
}

/* Section Styles */
section {
    position: relative;
}

/* Разные отступы для разных секций */
.services {
    padding: 8rem 0 6rem;
}

.process {
    padding: 7rem 0 9rem;
}

.technologies {
    padding: 6rem 0 8rem;
}

.portfolio {
    padding: 9rem 0 7rem;
}

.about {
    padding: 8rem 0;
}

.contact {
    padding: 7rem 0 9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.services .section-header {
    margin-bottom: 6rem;
    margin-left: -2rem;
}

.process .section-header {
    margin-bottom: 4rem;
    margin-right: -3rem;
}

.technologies .section-header {
    margin-bottom: 5.5rem;
}

.portfolio .section-header {
    margin-bottom: 6.5rem;
    margin-left: 2rem;
}

.about .section-header {
    margin-bottom: 5rem;
    text-align: left;
    max-width: 60%;
}

.contact .section-header {
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
    position: relative;
    display: inline-block;
}

.services .section-title {
    transform: rotate(-1deg);
    margin-left: 2rem;
}

.process .section-title {
    transform: rotate(0.5deg);
}

.portfolio .section-title {
    transform: rotate(-0.8deg);
}

.about .section-title {
    transform: rotate(1.2deg);
    margin-left: 0;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services .section-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: 3rem;
}

.process .section-subtitle {
    max-width: 750px;
    margin-right: auto;
    margin-left: 2rem;
}

.about .section-subtitle {
    margin-left: 0;
    margin-right: auto;
    max-width: 85%;
}

/* Glassmorphism Services Cards */

.services-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem 2.5rem;
    position: relative;
    margin-left: -1rem;
}

.services-grid .service-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    transform: rotate(-1.5deg);
    margin-top: 2rem;
}

.services-grid .service-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    transform: rotate(1deg);
    margin-top: -1rem;
}

.services-grid .service-card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    transform: rotate(-0.8deg);
    margin-top: 1.5rem;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    transform: rotate(0.5deg);
    margin-top: -0.5rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) {
    padding: 3rem 2.8rem;
}

.service-card:nth-child(2) {
    padding: 2rem 2.2rem;
}

.service-card:nth-child(3) {
    padding: 2.2rem 2.5rem;
}

.service-card:nth-child(4) {
    padding: 2.8rem 3rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) rotate(0deg) !important;
    border-color: var(--primary-orange);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3), 
                0 0 40px rgba(255, 107, 53, 0.2);
    z-index: 10;
}

.service-icon {
    width: 100%;
    height: 220px;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    mix-blend-mode: screen;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.6rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-red);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li::before {
    transform: translateX(5px);
}

/* Glassmorphism Accordion */

.process-accordion {
    max-width: 1100px;
    margin: 0 auto;
    margin-left: 3rem;
    position: relative;
}

.process-accordion::before {
    content: '';
    position: absolute;
    left: -4rem;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-orange), var(--secondary-red), var(--accent-yellow));
    border-radius: 2px;
    opacity: 0.3;
}

.accordion-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 2rem;
    margin-left: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

.accordion-item:nth-child(1) {
    transform: rotate(-0.3deg);
    margin-left: 0;
}

.accordion-item:nth-child(2) {
    transform: rotate(0.4deg);
    margin-left: 2rem;
}

.accordion-item:nth-child(3) {
    transform: rotate(-0.2deg);
    margin-left: 1rem;
}

.accordion-item:nth-child(4) {
    transform: rotate(0.3deg);
    margin-left: 2.5rem;
}

.accordion-item:nth-child(5) {
    transform: rotate(-0.5deg);
    margin-left: 0.5rem;
}

.accordion-item:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 30px rgba(255, 210, 63, 0.2);
}

.accordion-item.active {
    border-color: var(--primary-orange);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
    transform: rotate(0deg) !important;
    margin-left: 0 !important;
    z-index: 5;
}

.accordion-header {
    width: 100%;
    padding: 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--primary-orange);
}

.accordion-number {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    min-width: 60px;
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.8rem;
    color: var(--primary-orange);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--secondary-red);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.accordion-body ul {
    margin-top: 1rem;
    padding-left: 2rem;
}

.accordion-body li {
    margin-bottom: 0.75rem;
    position: relative;
}

.accordion-body li::marker {
    color: var(--secondary-red);
}

/* Advantages Section with floating effect */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem 2rem;
    margin-left: -2rem;
    margin-right: 2rem;
}

.tech-grid .tech-item:nth-child(1) {
    grid-column: 1 / 3;
    transform: rotate(-1.2deg);
}

.tech-grid .tech-item:nth-child(2) {
    grid-column: 3 / 5;
    transform: rotate(0.8deg);
    margin-top: 1.5rem;
}

.tech-grid .tech-item:nth-child(3) {
    grid-column: 5 / 6;
    transform: rotate(-0.5deg);
}

.tech-grid .tech-item:nth-child(4) {
    grid-column: 2 / 4;
    transform: rotate(1deg);
    margin-top: -1rem;
}

.tech-grid .tech-item:nth-child(5) {
    grid-column: 4 / 6;
    transform: rotate(-0.7deg);
    margin-top: 0.5rem;
}

.tech-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.tech-item:nth-child(even) {
    animation-delay: -2s;
}

.tech-item:nth-child(3n) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.tech-item:hover {
    transform: translateY(-15px) scale(1.05) rotate(0deg) !important;
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    animation-play-state: paused;
    z-index: 10;
}

.tech-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
    transition: filter 0.3s ease;
}

.tech-item:hover img {
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
}

.tech-item h4 {
    font-size: 1.3rem;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Portfolio with diagonal layout */

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 2rem 2.5rem;
    margin-left: -1.5rem;
    margin-right: 1rem;
}

.portfolio-item {
    position: relative;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 450px;
    transform: rotate(-2deg);
    margin-top: 1rem;
}

.portfolio-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    transform: rotate(1.5deg);
    margin-top: -1rem;
    height: 300px;
}

.portfolio-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    transform: rotate(-1deg);
    margin-top: 1.5rem;
    height: 320px;
}

.portfolio-item:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    transform: rotate(0.8deg);
    margin-top: -0.5rem;
    height: 280px;
}

.portfolio-item:hover {
    transform: rotate(0deg) scale(1.05);
    border-color: var(--secondary-red);
    box-shadow: 0 20px 60px rgba(247, 147, 30, 0.4);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(255, 107, 53, 0.2) 50%, 
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary-orange);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.portfolio-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* About Section */

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-left: -2rem;
    margin-right: 3rem;
}

.about-content .about-image {
    margin-top: 3rem;
}

.about-content .about-text {
    margin-top: -2rem;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) rotate(-1.5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    mix-blend-mode: screen;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 1.5rem 2rem;
    margin-top: 3rem;
    margin-left: -1rem;
}

.about-stats .stat-item:nth-child(1) {
    transform: rotate(-0.5deg);
}

.about-stats .stat-item:nth-child(2) {
    transform: rotate(0.3deg);
    margin-top: 0.5rem;
}

.about-stats .stat-item:nth-child(3) {
    transform: rotate(-0.2deg);
    margin-top: -0.3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 30px rgba(255, 210, 63, 0.3);
    transform: translateY(-5px) rotate(0deg) !important;
    z-index: 5;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Section */

.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 6rem;
    margin-left: 2rem;
    margin-right: -1rem;
}

.contact-content .contact-info {
    margin-top: 2rem;
}

.contact-content .contact-form {
    margin-top: -1.5rem;
    transform: rotate(0.3deg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-item:nth-child(1) {
    transform: rotate(-0.4deg);
    margin-left: 0;
}

.contact-item:nth-child(2) {
    transform: rotate(0.3deg);
    margin-left: 1.5rem;
}

.contact-item:nth-child(3) {
    transform: rotate(-0.2deg);
    margin-left: 0.5rem;
}

.contact-item:nth-child(4) {
    transform: rotate(0.5deg);
    margin-left: 2rem;
}

.contact-item:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
    transform: translateX(10px) rotate(0deg) !important;
    z-index: 5;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
    font-weight: 700;
}

.contact-item p {
    color: var(--text-muted);
    line-height: 1.9;
}

.contact-item a {
    color: var(--secondary-red);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transform: translateX(5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-orange), 
        var(--secondary-red), 
        var(--accent-yellow), 
        transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Glassmorphism Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    color: white;
    padding: 2rem;
    z-index: 2000;
    box-shadow: 0 -10px 40px rgba(255, 107, 53, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-light);
}

.cookie-content a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-content a:hover {
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.cookie-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
}

/* Thanks Page */
.thanks-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    padding: 2rem;
    position: relative;
}

.thanks-content {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 5rem 3rem;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.thanks-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--coral), var(--primary-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
    position: relative;
    z-index: 1;
}

.thanks-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.thanks-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Policy Pages */
.policy-page {
    padding: 5rem 0;
    min-height: calc(100vh - 200px);
    background: transparent;
}

.policy-page h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.policy-date {
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-style: italic;
    font-size: 1rem;
}

.policy-page section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.policy-page section:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 30px rgba(255, 210, 63, 0.2);
}

.policy-page h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
    font-weight: 700;
}

.policy-page h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-red);
    font-weight: 600;
}

.policy-page p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.policy-page li {
    margin-bottom: 0.75rem;
    line-height: 1.9;
}

.policy-page a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-page a:hover {
    color: var(--secondary-red);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none !important;
    }

    .burger-menu {
        display: flex !important;
        z-index: 10001;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .header-content {
        position: relative;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
    
    .services-grid .service-card {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .services .section-header {
        margin-left: 0;
    }
    
    .services .section-subtitle {
        margin-right: 0;
    }
    
    .process-accordion {
        margin-left: 0;
    }
    
    .process-accordion::before {
        display: none;
    }
    
    .accordion-item {
        margin-left: 0 !important;
        transform: rotate(0deg) !important;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
        margin-right: 0;
    }
    
    .tech-grid .tech-item {
        grid-column: auto !important;
        grid-row: auto !important;
        margin-top: 0 !important;
        transform: rotate(0deg) !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }
    
    .portfolio-grid .portfolio-item {
        grid-column: 1 !important;
        grid-row: auto !important;
        height: 300px !important;
        margin-top: 0 !important;
        transform: rotate(0deg) !important;
    }
    
    .about-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .about-content .about-image {
        margin-top: 0;
    }
    
    .about-content .about-text {
        margin-top: 0;
    }
    
    .about .section-header {
        text-align: center;
        max-width: 100%;
    }
    
    .about .section-subtitle {
        margin-left: auto;
        max-width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
    
    .about-stats .stat-item {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
    }
    
    .contact-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .contact-content .contact-info {
        margin-top: 0;
    }
    
    .contact-content .contact-form {
        margin-top: 0;
        transform: rotate(0deg) !important;
    }
    
    .contact-item {
        margin-left: 0 !important;
        transform: rotate(0deg) !important;
    }
    
    .section-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .section-title {
        transform: rotate(0deg) !important;
        margin-left: 0 !important;
    }
    
    .section-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .process {
        padding: 4rem 0;
    }
    
    .technologies {
        padding: 4rem 0;
    }
    
    .portfolio {
        padding: 4rem 0;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 4rem 0;
    }

    .accordion-body {
        padding-left: 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .fullscreen-menu .nav-link {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}
