/* ========================================
   KOZMIK STUDIO - Main Stylesheet
   Modern Dark Theme with Glassmorphism
======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-dark: #0a0a1a;
    --primary-darker: #050510;
    --secondary-dark: #0f0f2d;
    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --neon-purple: #a855f7;
    --neon-blue: #60a5fa;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a1a 0%, #0f0f2d 50%, #1a1a3e 100%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(15, 15, 45, 0.6);
    --glass-border: rgba(124, 58, 237, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   RETRO TV / VHS EFFECT
======================================== */

/* Scanlines Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    animation: scanlines 0.1s linear infinite;
}

/* Noise/Grain Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    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%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    animation: noise 0.5s steps(5) infinite;
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 3px; }
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 1%); }
    30% { transform: translate(-1%, 1%); }
    40% { transform: translate(1%, -1%); }
    50% { transform: translate(-1%, 0); }
    60% { transform: translate(1%, 0); }
    70% { transform: translate(0, 1%); }
    80% { transform: translate(0, -1%); }
    90% { transform: translate(1%, 1%); }
}

/* VHS Chromatic Aberration Effect */
.hero-title,
.section-title,
.gradient-text {
    text-shadow: 
        -2px 0 rgba(255, 0, 0, 0.3),
        2px 0 rgba(0, 255, 255, 0.3);
    animation: glitch-text 3s infinite;
}

@keyframes glitch-text {
    0%, 92%, 100% {
        text-shadow: 
            -2px 0 rgba(255, 0, 0, 0.3),
            2px 0 rgba(0, 255, 255, 0.3);
    }
    93% {
        text-shadow: 
            -4px 0 rgba(255, 0, 0, 0.5),
            4px 0 rgba(0, 255, 255, 0.5);
    }
    94% {
        text-shadow: 
            2px 0 rgba(255, 0, 0, 0.4),
            -2px 0 rgba(0, 255, 255, 0.4);
    }
    95% {
        text-shadow: 
            -3px 0 rgba(255, 0, 0, 0.3),
            3px 0 rgba(0, 255, 255, 0.3);
    }
}

/* Flicker Effect for Images */
.hero-logo img,
.portfolio-image img,
.cta-logo img {
    animation: flicker 4s infinite;
}

@keyframes flicker {
    0%, 97%, 100% { opacity: 1; filter: brightness(1); }
    97.5% { opacity: 0.9; filter: brightness(0.9); }
    98% { opacity: 1; filter: brightness(1.1); }
    98.5% { opacity: 0.95; filter: brightness(0.95); }
}

/* VHS Distortion Line */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: vhs-line 8s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes vhs-line {
    0% { top: -3px; }
    100% { top: 100%; }
}

/* Retro Vignette Effect */
.bg-animation::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Glitch Effect for Cards on Hover */
.glass-card:hover {
    animation: card-glitch 0.3s ease;
}

@keyframes card-glitch {
    0% { transform: translateY(-10px); }
    20% { transform: translateY(-10px) translateX(-2px); }
    40% { transform: translateY(-10px) translateX(2px); }
    60% { transform: translateY(-10px) translateX(-1px); }
    80% { transform: translateY(-10px) translateX(1px); }
    100% { transform: translateY(-10px); }
}

/* Retro Border for Portfolio Items */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(6, 182, 212, 0.5)) 1;
    z-index: 5;
    pointer-events: none;
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-dark);
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(124, 58, 237, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59, 130, 246, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(124, 58, 237, 0.7), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(6, 182, 212, 0.6), transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: twinkle 8s ease-in-out infinite;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 50px 150px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 100px 50px, rgba(124, 58, 237, 0.5), transparent),
        radial-gradient(1px 1px at 200px 100px, rgba(59, 130, 246, 0.4), transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: twinkle 12s ease-in-out infinite 2s;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 70px 200px, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(2px 2px at 180px 30px, rgba(168, 85, 247, 0.4), transparent);
    background-repeat: repeat;
    background-size: 350px 350px;
    animation: twinkle 15s ease-in-out infinite 4s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
    transition: var(--transition-normal);
}

.logo:hover img {
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.8));
    transform: scale(1.1);
}

.logo .accent {
    color: var(--accent-purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Navbar Socials */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.nav-social-btn.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.nav-social-btn.youtube:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.6));
    transition: var(--transition-normal);
}

.hero-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.8));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--gradient-card);
    border-color: var(--accent-purple);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   STATS SECTION
======================================== */
.stats {
    padding: 80px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--gradient-card);
    border-radius: 15px;
    color: var(--accent-purple);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: inline;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
    display: inline;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 10px;
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    padding: var(--section-padding);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    position: relative;
    transition: var(--transition-normal);
}

.service-card.featured {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, var(--glass-bg) 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.portfolio-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.portfolio-grid-3 .portfolio-item.large {
    grid-column: 1;
    grid-row: span 2;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 26, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    width: 100%;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.portfolio-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    transition: var(--transition-normal);
}

.portfolio-link:hover {
    background: var(--gradient-primary);
}

/* ========================================
   TEAM SECTION
======================================== */
.team {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.team-grid-2 .team-card {
    padding: 50px 40px;
}

.team-grid-2 .team-avatar {
    width: 150px;
    height: 150px;
}

.team-grid-2 .team-avatar img {
    padding: 15px;
}

.team-grid-2 .avatar-placeholder {
    font-size: 3.5rem;
}

.team-card {
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
}

.team-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: var(--gradient-card);
    padding: 10px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--gradient-card);
    border-radius: 50%;
    color: var(--accent-purple);
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-role {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-card);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 15px;
}

.team-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.team-socials a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: var(--section-padding);
}

.cta-content {
    text-align: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-logo {
    margin-bottom: 30px;
    position: relative;
}

.cta-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.6));
    animation: float 4s ease-in-out infinite;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.cta-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.cta-buttons {
    position: relative;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--primary-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo .accent {
    color: var(--accent-purple);
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-purple);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-socials {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logo img {
        width: 140px;
        height: 140px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .portfolio-item,
    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 280px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 50px 30px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Selection */
::selection {
    background: rgba(124, 58, 237, 0.4);
    color: white;
}

/* ========================================
   TILKI LOGO ENHANCED EFFECTS
======================================== */

/* Hero Background Logo (Watermark Effect) */
.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: blur(2px);
    animation: bgRotate 60s linear infinite;
}

@keyframes bgRotate {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1); }
}

/* Hero Logo Glow Effect */
.hero-logo {
    position: relative;
    margin-bottom: 30px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(124, 58, 237, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.hero-logo-img {
    position: relative;
    z-index: 1;
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.3));
    animation: heroFloat 6s ease-in-out infinite, logoShine 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes logoShine {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.5)); }
}

.hero-logo:hover .hero-logo-img {
    animation: heroFloat 6s ease-in-out infinite, logoBounce 0.5s ease;
    filter: drop-shadow(0 0 60px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 100px rgba(124, 58, 237, 0.6));
}

@keyframes logoBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Floating Mini Logos */
.floating-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.float-logo {
    position: absolute;
    opacity: 0.1;
    filter: blur(1px);
}

.float-logo.f1 {
    width: 80px;
    top: 15%;
    left: 10%;
    animation: floatLogo1 20s ease-in-out infinite;
}

.float-logo.f2 {
    width: 60px;
    top: 70%;
    right: 15%;
    animation: floatLogo2 25s ease-in-out infinite;
}

.float-logo.f3 {
    width: 50px;
    bottom: 20%;
    left: 20%;
    animation: floatLogo3 18s ease-in-out infinite;
}

@keyframes floatLogo1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
    25% { transform: translate(30px, -50px) rotate(15deg); opacity: 0.15; }
    50% { transform: translate(-20px, -30px) rotate(-10deg); opacity: 0.1; }
    75% { transform: translate(10px, 20px) rotate(5deg); opacity: 0.12; }
}

@keyframes floatLogo2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.08; }
    33% { transform: translate(-40px, 30px) rotate(-15deg); opacity: 0.12; }
    66% { transform: translate(20px, -20px) rotate(10deg); opacity: 0.1; }
}

@keyframes floatLogo3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.06; }
    50% { transform: translate(50px, -40px) rotate(20deg); opacity: 0.1; }
}

/* Navbar Logo Enhanced */
.navbar .logo img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar .logo:hover img {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.9));
}

/* Team Avatar Logo Glow */
.team-avatar img {
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar img {
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8));
    transform: scale(1.1);
}

/* CTA Logo Enhanced */
.cta-logo {
    position: relative;
}

.cta-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

.cta-logo img {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.cta-content:hover .cta-logo img {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.9));
}

/* Footer Logo Enhanced */
.footer-logo img {
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.7));
}

/* Section Divider with Logo */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.section-divider img {
    width: 40px;
    height: 40px;
    opacity: 0.5;
    animation: dividerSpin 20s linear infinite;
}

@keyframes dividerSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Portfolio Overlay Logo Watermark */
.portfolio-overlay::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-image: url('assets/logo-small.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: grayscale(100%) brightness(2);
}

/* Mobile Adjustments for Logo Effects */
@media (max-width: 768px) {
    .hero-bg-logo {
        width: 400px;
        height: 400px;
    }
    
    .hero-logo-img {
        width: 150px;
        height: 150px;
    }
    
    .logo-glow {
        width: 180px;
        height: 180px;
    }
    
    .floating-logos {
        display: none;
    }
}

