/* ========================================
   VARIABLES & ROOT STYLES
   ======================================== */
:root {
    /* Colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111114;
    --bg-tertiary: #18181c;
    --bg-card: #1a1a1f;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a8;
    --text-muted: #5a5a65;
    
    --accent-primary: #e31837;
    --accent-secondary: #ff2d4a;
    --accent-glow: rgba(227, 24, 55, 0.4);
    --accent-subtle: rgba(227, 24, 55, 0.1);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(227, 24, 55, 0.3);
    
    /* Typography - Bold Sans-Serif з кирилицею */
    --font-display: 'Oswald', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Effects */
    --shadow-glow: 0 0 60px var(--accent-glow);
    --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.4);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   CURSOR GLOW EFFECT
   ======================================== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.875rem;
    clip-path: polygon(20% 0%, 100% 50%, 20% 100%, 0% 50%);
}

.logo-text .accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-primary);
    color: white !important;
    border-radius: 6px;
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-base);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-base);
}

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

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 70% 40%, var(--accent-glow) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(227, 24, 55, 0.15) 0%, transparent 50%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding-left: 40px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title .title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title .title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.5s; }

.accent-text {
    color: var(--accent-primary);
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

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

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.visual-frame {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-primary);
    border-style: solid;
    border-width: 0;
}

.frame-corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-radius: 12px 0 0 0; }
.frame-corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 12px 0 0; }
.frame-corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 12px; }
.frame-corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 12px 0; }

.timeline-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.timeline-track {
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 6px;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.timeline-track.video .clip {
    height: 100%;
    border-radius: 4px;
    animation: clipSlide 3s ease infinite;
}

.clip.c1 { flex: 3; background: linear-gradient(135deg, var(--accent-primary), #ff4d6a); animation-delay: 0s; }
.clip.c2 { flex: 2; background: linear-gradient(135deg, #2a2a35, #3a3a48); animation-delay: 0.2s; }
.clip.c3 { flex: 4; background: linear-gradient(135deg, var(--accent-primary), #b8152e); animation-delay: 0.4s; }

@keyframes clipSlide {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.timeline-track.audio {
    height: 30px;
}

.waveform {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--accent-primary) 0px,
        var(--accent-primary) 2px,
        transparent 2px,
        transparent 6px
    );
    opacity: 0.6;
    animation: waveformPulse 2s ease infinite;
}

@keyframes waveformPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.timeline-track.effects {
    height: 25px;
}

.effect {
    height: 100%;
    border-radius: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-accent);
}

.effect.e1 { flex: 2; }
.effect.e2 { flex: 3; margin-left: 20%; }

.playhead {
    position: absolute;
    top: 0;
    left: 30%;
    width: 2px;
    height: 100%;
    background: var(--accent-primary);
    animation: playheadMove 4s ease infinite;
}

.playhead::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 2px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@keyframes playheadMove {
    0% { left: 10%; }
    100% { left: 90%; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.image-placeholder svg {
    width: 40%;
    height: auto;
}

.image-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, var(--accent-subtle) 100%);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-primary);
    padding: 20px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.skill-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.skill-icon {
    font-size: 1.25rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-base);
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(227, 24, 55, 0.1) 100%);
    border-color: var(--border-accent);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 100px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '▸';
    color: var(--accent-primary);
    font-size: 0.75rem;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.portfolio-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: var(--transition-base);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.filter-btn.active {
    color: white;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-4px);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    overflow: hidden;
    height: 100%;
}

.portfolio-item.large .portfolio-thumb {
    aspect-ratio: 2/1;
}

.thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
}

.play-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white;
    font-size: 1.25rem;
    border-radius: 50%;
    transition: var(--transition-base);
}

.portfolio-item:hover .play-icon {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
}

.stats-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, var(--accent-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(227, 24, 55, 0.15) 0%, transparent 40%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-base);
}

.stat-item:hover {
    border-color: var(--border-accent);
    background: rgba(227, 24, 55, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.testimonial-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
}

.quote-icon {
    position: absolute;
    top: 24px;
    left: 32px;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: var(--accent-primary);
    opacity: 0.3;
}

.testimonial-content p {
    position: relative;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 48px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-accent);
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.dot:hover {
    border-color: var(--accent-primary);
}

.dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-base);
}

.contact-method:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.method-icon {
    font-size: 1.25rem;
}

.method-text {
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-visual {
        width: 40%;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .hero-content {
        padding-left: 24px;
        max-width: 100%;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Mobile Navigation */
    .navbar {
        padding: 16px 0;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 1rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        font-weight: 500;
    }
    
    .nav-links .nav-cta {
        margin-top: 16px;
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 100svh;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 9vw, 3.5rem);
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.875rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator span {
        font-size: 0.6875rem;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    /* About Mobile */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        max-width: 280px;
    }
    
    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        padding: 16px 24px;
        margin-top: 20px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .badge-text {
        font-size: 0.6875rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text .lead {
        font-size: 1rem;
    }
    
    .about-skills {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .skill-item {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    
    .service-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    /* Portfolio Mobile */
    .portfolio-filter {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 16px;
        margin-bottom: 32px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
    }
    
    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .portfolio-thumb {
        aspect-ratio: 16/9;
    }
    
    .play-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .portfolio-overlay {
        padding: 16px;
        opacity: 1;
    }
    
    .portfolio-overlay h3 {
        font-size: 1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.8125rem;
    }
    
    /* Stats Mobile */
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-suffix {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        margin-top: 8px;
    }
    
    /* Testimonials Mobile */
    .testimonial-content {
        padding: 24px;
    }
    
    .quote-icon {
        font-size: 4rem;
        top: 12px;
        left: 16px;
    }
    
    .testimonial-content p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .testimonial-author {
        padding-left: 24px;
    }
    
    .author-avatar {
        width: 44px;
        height: 44px;
    }
    
    .author-name {
        font-size: 0.9375rem;
    }
    
    .author-role {
        font-size: 0.75rem;
    }
    
    /* Contact Mobile */
    .contact-wrapper {
        gap: 32px;
    }
    
    .contact-text {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .contact-methods {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .contact-method {
        padding: 14px 16px;
    }
    
    .method-text {
        font-size: 0.875rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .contact-form {
        padding: 24px;
        border-radius: 16px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.875rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 32px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1rem;
    }
    
    .footer-logo .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .footer-text {
        font-size: 0.8125rem;
    }
    
    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    
    .about-image {
        max-width: 220px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-suffix {
        font-size: 0.875rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 0.875rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

