/* Digituva CMS - 2026 Ultra Modern Dark Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Apple Mid-Tone Color Palette */
    --primary-color: #0A84FF;
    --primary-light: #5AC8FA;
    --primary-dark: #0071E3;
    --secondary-color: #FF453A;
    --accent-color: #30D158;
    
    /* Mid-tone backgrounds - between light and dark */
    --bg-primary: #1C1C1E;
    --bg-secondary: #2C2C2E;
    --bg-tertiary: #3A3A3C;
    --bg-glass: rgba(44, 44, 46, 0.72);
    --bg-glass-light: rgba(58, 58, 60, 0.5);
    --bg-card: rgba(44, 44, 46, 0.6);
    --bg-card-hover: rgba(58, 58, 60, 0.8);
    
    /* Text colors - Apple System Gray */
    --text-primary: #FFFFFF;
    --text-secondary: #98989D;
    --text-tertiary: #636366;
    --text-light: #FFFFFF;
    --text-gray: #8E8E93;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 100%);
    --gradient-2: linear-gradient(135deg, #FF453A 0%, #FF9F0A 100%);
    --gradient-3: linear-gradient(135deg, #30D158 0%, #64D2FF 100%);
    --gradient-hero: linear-gradient(180deg, #1C1C1E 0%, #2C2C2E 100%);
    
    /* Shadows - softer for mid-tone */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Blur */
    --blur-apple: saturate(180%) blur(20px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.47059;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apple System UI background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(10, 132, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(90, 200, 250, 0.04) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Soft floating orbs - Apple style */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 30s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: radial-gradient(circle, rgba(88, 86, 214, 0.06) 0%, transparent 70%);
}

.particle:nth-child(3n) {
    background: radial-gradient(circle, rgba(255, 59, 48, 0.05) 0%, transparent 70%);
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% { 
        transform: translate(50px, -30px) scale(1.1);
    }
    50% { 
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% { 
        transform: translate(-50px, -20px) scale(1.05);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Apple System UI */
.header {
    background: rgba(28, 28, 30, 0.72);
    backdrop-filter: var(--blur-apple);
    -webkit-backdrop-filter: var(--blur-apple);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(28, 28, 30, 0.95);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 40px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.7;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.6rem 1.25rem;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-contact:active {
    transform: scale(0.98);
}

/* Main */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section - Apple Style */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1C1C1E 0%, #2C2C2E 50%, #1C1C1E 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(10, 132, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(90, 200, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Apple Style Audio Player */
.hero-audio-card {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-apple);
    -webkit-backdrop-filter: var(--blur-apple);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-glass);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-audio-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.hero-audio-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.hero-audio-subtitle {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Custom Audio Player */
.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.audio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.audio-play-btn:active {
    transform: scale(0.95);
}

.audio-play-btn svg {
    width: 18px;
    height: 18px;
    color: white;
    margin-left: 2px;
}

.audio-play-btn.playing svg {
    margin-left: 0;
}

.audio-progress {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 45px;
    text-align: right;
}

.hero-cta {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

#typing-text {
    color: var(--primary-color);
    font-weight: 700;
    border-right: 3px solid var(--primary-color);
    padding-right: 0.5rem;
    animation: blink 1s infinite;
    display: inline-block;
    min-width: 200px;
}

@keyframes blink {
    0%, 50% { border-color: var(--primary-color); }
    51%, 100% { border-color: transparent; }
}

.hero-cta {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary::after {
    content: '→';
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section - Apple Style */
.stats-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-card {
    padding: 2rem 1.5rem;
    background: rgba(44, 44, 46, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(58, 58, 60, 0.7);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Section - Apple Style */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: rgba(44, 44, 46, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.service-card:hover {
    transform: translateY(-4px);
    background: rgba(58, 58, 60, 0.7);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Content - Apple Style */
.content, .page {
    padding: 6rem 0;
    position: relative;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.02em;
}

.page-content {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.page-content h1 {
    font-size: 2rem;
}

.page-content h2 {
    font-size: 1.5rem;
}

.page-content h3 {
    font-size: 1.25rem;
}

.page-content p {
    margin-bottom: 1.25rem;
}

/* 404 Page - Apple Style */
.error-page {
    padding: 8rem 0;
    text-align: center;
}

.error-page h1 {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.error-page p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* Footer - Apple Style */
/* ===================================
   Footer - Apple System UI
   =================================== */
.footer {
    background: linear-gradient(180deg, #1C1C1E 0%, #2C2C2E 50%, #1C1C1E 100%);
    padding: 8rem 0 2rem;
    margin-top: 8rem;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.footer-brand {
    text-align: center;
    margin-bottom: 5rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-card {
    background: rgba(44, 44, 46, 0.5);
    backdrop-filter: var(--blur-apple);
    -webkit-backdrop-filter: var(--blur-apple);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    background: rgba(58, 58, 60, 0.7);
    border-color: rgba(10, 132, 255, 0.3);
}

.footer-card:hover::before {
    opacity: 1;
}

.footer-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(10, 132, 255, 0.25);
}

.footer-card-icon svg {
    color: white;
}

.footer-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-card-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-card-content p {
    margin: 0.5rem 0;
    transition: color 0.2s ease;
}

.footer-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-card-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
}

.footer-card-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0A84FF;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-card-link:hover {
    background: rgba(10, 132, 255, 0.2);
    transform: translateX(4px);
}

.footer-card-link svg {
    transition: transform 0.3s ease;
}

.footer-card-link:hover svg {
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    background: rgba(58, 58, 60, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    background: #0A84FF;
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(10, 132, 255, 0.3);
    border-color: transparent;
}

.social-btn svg {
    stroke: currentColor;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 400;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badges .badge {
    padding: 0.5rem 1rem;
    background: rgba(58, 58, 60, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Old footer styles - keep for compatibility */
.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.2s ease;
    display: block;
    font-size: 0.8125rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
        margin-top: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 3rem;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-card {
        padding: 1.5rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Section - Apple Style */
.portfolio-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(44, 44, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.portfolio-overlay p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.portfolio-link {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0A84FF;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.portfolio-link:hover {
    background: white;
    transform: scale(1.02);
}

/* Testimonials Section - Apple Style */
.testimonials-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2rem;
    background: rgba(44, 44, 46, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: rgba(58, 58, 60, 0.7);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: #FF9500;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.testimonial-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.testimonial-position {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Team Section - Apple Style */
.team-section {
    padding: 6rem 0;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.team-card {
    padding: 2rem 1.5rem;
    background: rgba(44, 44, 46, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.team-card:hover {
    transform: translateY(-4px);
    background: rgba(58, 58, 60, 0.7);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.team-position {
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.team-bio {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Newsletter Section - Apple Style */
.newsletter-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.newsletter-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Scroll to Top Button - Apple Style */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(44, 44, 46, 0.8);
    backdrop-filter: var(--blur-apple);
    -webkit-backdrop-filter: var(--blur-apple);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    background: rgba(58, 58, 60, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

/* Responsive - Apple Style */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-audio-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-audio-text {
        text-align: center;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.75rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: var(--blur-apple);
        padding: 1.5rem;
        display: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-list.active {
        display: flex;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .scroll-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
    }
}
