/* ============================================
   AYS STUDIO - PREMIUM WEBSITE STYLES
   ============================================ */

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-tertiary: #808090;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Hide default cursor on all elements */
a, button, input, textarea, select, .magnetic {
    cursor: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-trail {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    filter: blur(5px);
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: var(--accent-tertiary);
    mix-blend-mode: normal;
    opacity: 0.3;
}

.cursor-follower.hover {
    width: 80px;
    height: 80px;
    border-color: var(--accent-tertiary);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-follower.click {
    transform: translate(-50%, -50%) scale(1.2);
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-cta:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.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);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Hero Mockups */
.hero-mockups {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.mockup {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.mockup-1 {
    width: 300px;
    height: 200px;
    top: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.mockup-2 {
    width: 280px;
    height: 180px;
    top: 60%;
    right: 8%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

.mockup-3 {
    width: 260px;
    height: 170px;
    bottom: 15%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 4s;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.mockup-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.5;
}

.mockup-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-content::before {
    content: '';
    width: 60%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mockup-content::after {
    content: '';
    width: 80%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease-out 2s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-medium);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-medium);
    cursor: pointer;
    background: var(--bg-tertiary);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.project-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view {
    padding: 14px 32px;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.project-card:hover .project-view {
    transform: translateY(0);
}

.project-view:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.project-info {
    padding: 25px;
}

.project-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tech span {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.project-deliverables {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-deliverables strong {
    color: var(--text-primary);
}

/* ============================================
   SERVICES SECTION - PREMIUM INTERACTIVE
   ============================================ */
.services {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Animated Mesh Background */
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: meshFloat 15s ease-in-out infinite;
}

.mesh-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.mesh-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -5%;
    left: -5%;
    animation-delay: 5s;
}

.mesh-orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-tertiary);
    top: 40%;
    left: 50%;
    animation-delay: 10s;
}

.mesh-orb-4 {
    width: 300px;
    height: 300px;
    background: #4facfe;
    top: 60%;
    right: 20%;
    animation-delay: 7s;
}

@keyframes meshFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    33% { 
        transform: translate(40px, -40px) scale(1.1);
    }
    66% { 
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.mesh-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Service Tabs */
.service-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.tab-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.tab-btn.active {
    background: transparent;
    border-color: transparent;
    color: var(--text-primary);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn .tab-icon {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.tab-btn span:last-child {
    position: relative;
    z-index: 1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    perspective: 2000px;
    position: relative;
    z-index: 1;
}

/* Premium Card */
.premium-card {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 24px;
    position: relative;
    height: 480px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
    will-change: transform;
}

/* Multi-layer card */
.card-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(236, 72, 153, 0.05) 100%
    );
    transition: opacity 0.6s;
}

.card-glass-layer {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 23px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s;
}

.premium-card:hover .card-mesh {
    opacity: 1;
}

/* Card shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 60%
    );
    background-size: 300% 300%;
    animation: shineMove 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.premium-card:hover .card-shine {
    opacity: 1;
}

@keyframes shineMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating orb inside card */
.card-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.6s;
    z-index: 0;
}

.premium-card:hover .card-orb {
    opacity: 0.15;
}

/* Card content */
.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
}

/* Icon with rotating ring */
.service-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    transform-style: preserve-3d;
}

.service-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    background: var(--gradient-1);
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-card:hover .service-icon-bg {
    transform: scale(1.15);
}

.service-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    z-index: 2;
    transition: transform 0.4s;
}

.premium-card:hover .service-icon {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.icon-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* Service number */
.service-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: color 0.4s;
}

.premium-card:hover .service-number {
    color: rgba(99, 102, 241, 0.1);
}

/* Title */
.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    transform: translateZ(25px);
    transition: color 0.4s;
}

.premium-card:hover .service-title {
    color: var(--accent-primary);
}

/* Description */
.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    transform: translateZ(15px);
    flex-grow: 1;
}


/* CTA button */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-cta span,
.service-cta svg {
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    border-color: transparent;
    transform: translateY(-2px);
}

.service-cta:hover::before {
    opacity: 1;
}

.service-cta:hover svg {
    transform: translateX(4px);
}

.service-cta svg {
    transition: transform 0.3s;
}

/* Expand info */
.service-expand-info {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    opacity: 0.5;
    transition: opacity 0.4s;
}

.premium-card:hover .service-expand-info {
    opacity: 0;
}

/* Animated gradient border on hover */
.premium-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 25px;
    background: conic-gradient(
        transparent,
        transparent,
        transparent,
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-tertiary),
        transparent,
        transparent,
        transparent
    );
    opacity: 0;
    transition: opacity 0.6s;
    z-index: -1;
    animation: borderSpin 4s linear infinite;
}

@keyframes borderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.premium-card:hover::after {
    opacity: 1;
}

/* Responsive for services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-card {
        height: auto;
        min-height: 420px;
    }
    
    .card-content {
        padding: 30px;
    }
    
    .service-number {
        font-size: 3rem;
        top: 30px;
        right: 30px;
    }
    
    .service-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ============================================
   TECHNOLOGIES SECTION
   ============================================ */
.technologies {
    background: var(--bg-secondary);
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tech-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.tech-item {
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-medium);
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.tech-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   FRONTEND TECH SCROLLING ROW
   ============================================ */
.frontend-scroll-section {
    position: relative;
    margin-bottom: 80px;
    padding: 40px 0;
    overflow: hidden;
}

.frontend-scroll-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.frontend-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.frontend-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(40px);
}

.frontend-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.frontend-track-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.frontend-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* Card design */
.frontend-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 160px;
    height: 180px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s,
                border-color 0.3s;
    flex-shrink: 0;
    cursor: pointer;
}

.frontend-card:hover {
    transform: translateY(-7px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2),
                0 0 20px rgba(99, 102, 241, 0.1);
}

.frontend-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s;
}

.frontend-card:hover .frontend-logo {
    transform: scale(1.15);
}

.frontend-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.frontend-desc {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.3;
}

/* Responsive frontend cards */
@media (max-width: 1024px) {
    .frontend-card {
        width: 150px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .frontend-card {
        width: 140px;
        height: 160px;
        gap: 8px;
    }
    .frontend-logo {
        width: 42px;
        height: 42px;
    }
    .frontend-name {
        font-size: 0.85rem;
    }
    .frontend-desc {
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .frontend-card {
        width: 130px;
        height: 150px;
        padding: 14px 12px;
    }
    .frontend-logo {
        width: 38px;
        height: 38px;
    }
}

/* ============================================
   PORTFOLIO SHOWCASE SECTION
   ============================================ */
.portfolio {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.portfolio-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.pf-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: pfFloat 20s ease-in-out infinite;
}

.pf-orb-1 { width: 500px; height: 500px; background: var(--accent-primary); top: -15%; right: -10%; }
.pf-orb-2 { width: 400px; height: 400px; background: var(--accent-secondary); bottom: -10%; left: -10%; animation-delay: 7s; }
.pf-orb-3 { width: 350px; height: 350px; background: var(--accent-tertiary); top: 50%; left: 60%; animation-delay: 14s; }

@keyframes pfFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-40px) scale(1.1); }
    66% { transform: translate(-30px,30px) scale(0.9); }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    perspective: 2000px;
}

/* Portfolio Card */
.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.03, 0.98, 0.52, 0.99);
    height: 420px;
    will-change: transform;
}

.pf-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-tertiary);
}

/* Preview iframe */
.pf-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    transform: scale(0.9);
    transform-origin: top center;
    pointer-events: none;
}

.pf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-card:hover .pf-iframe {
    transform: scale(1.08);
}

/* Overlay */
.pf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.pf-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.3) 100%);
}

.portfolio-card:hover .pf-overlay {
    opacity: 1;
}

.pf-view-btn {
    padding: 14px 32px;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-card:hover .pf-view-btn {
    transform: translateY(0);
}

.pf-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

/* Info bottom */
.pf-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 100%);
}

.pf-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.pf-category {
    padding: 4px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.pf-year {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.pf-title {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.4s;
}

.portfolio-card:hover .pf-title {
    transform: translateY(-5px);
}

.pf-hover-info {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
}

.portfolio-card:hover .pf-hover-info {
    opacity: 1;
    transform: translateY(0);
}

/* Corner label */
.pf-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    z-index: 3;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s;
}

.portfolio-card:hover .pf-corner {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PROJECT DETAIL OVERLAY
   ============================================ */
.project-detail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.project-detail.active {
    opacity: 1;
    visibility: visible;
}

.pd-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: -1;
}

.pd-close {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.pd-close:hover {
    background: var(--accent-primary);
    transform: rotate(90deg);
}

.pd-scroll-wrap {
    position: relative;
}

/* Hero Section */
.pd-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.pd-hero-iframe-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.pd-browser-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(20,20,30,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 2;
}

.pd-browser-dots {
    display: flex;
    gap: 6px;
}

.pd-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.pd-browser-dots span:nth-child(1) { background: #ff5f57; }
.pd-browser-dots span:nth-child(2) { background: #ffbd2e; }
.pd-browser-dots span:nth-child(3) { background: #28c840; }

.pd-browser-address {
    flex: 1;
    padding: 5px 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.pd-iframe-main {
    width: 100%;
    height: 100%;
    border: none;
}

.pd-hero-overlay {
    position: relative;
    z-index: 1;
    padding: 60px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    width: 100%;
}

.pd-hero-content {
    max-width: 800px;
}

.pd-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.pd-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 15px;
}

.pd-meta-row {
    display: flex;
    gap: 25px;
}

.pd-year, .pd-role {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pd-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    z-index: 1;
}

.pd-scroll-line {
    width: 1px;
    height: 40px;
    background: var(--text-tertiary);
    animation: pdScrollLine 2s ease-in-out infinite;
}

@keyframes pdScrollLine {
    0%, 100% { height: 20px; opacity: 0.5; }
    50% { height: 40px; opacity: 1; }
}

/* Detail Sections */
.pd-section {
    padding: 100px 0;
    position: relative;
}

.pd-about {
    background: var(--bg-secondary);
}

.pd-about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.pd-about-text .section-tag {
    margin-bottom: 15px;
}

.pd-about-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.pd-about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.pd-about-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.dd-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.dd-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Insights */
.pd-insights {
    background: var(--bg-primary);
}

.pd-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pd-insight-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
}

.pd-insight-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.insight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.pd-insight-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pd-insight-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tech badges */
.pd-tech {
    background: var(--bg-secondary);
}

.pd-tech .section-tag {
    margin-bottom: 30px;
}

.pd-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-tech-badge {
    padding: 10px 22px;
    background: var(--glass-bg);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pd-tech-badge:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Interactive Preview */
.pd-interactive {
    background: var(--bg-primary);
}

.pd-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.pd-browser-full {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.pd-iframe-full {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.pd-live-wrap {
    text-align: center;
}

/* Nav */
.pd-nav {
    background: var(--bg-secondary);
}

.pd-nav-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.pd-nav-btn {
    padding: 16px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.pd-nav-btn:hover {
    border-color: var(--accent-primary);
    background: var(--glass-bg);
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .pd-about-grid {
        grid-template-columns: 1fr;
    }
    .pd-insights-grid {
        grid-template-columns: 1fr;
    }
    .pd-hero-overlay {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-card {
        height: 340px;
    }
    .pd-iframe-full {
        height: 400px;
    }
    .pd-nav-row {
        flex-direction: column;
    }
}

/* ============================================
   ABOUT / FOUNDER SECTION - PREMIUM
   ============================================ */
.about {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: aboutFloat 18s ease-in-out infinite;
}

.about-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.about-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -15%;
    left: -10%;
    animation-delay: 6s;
}

.about-orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: 40%;
    left: 60%;
    animation-delay: 12s;
}

@keyframes aboutFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-40px, 40px) scale(0.9); }
}

/* About Layout */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Image Side */
.about-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at 50% 50%, var(--accent-primary) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: 1;
}

.about-image-frame:hover .image-glow {
    opacity: 0.15;
}

.image-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: aboutShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s;
}

.about-image-frame:hover .image-shine {
    opacity: 1;
}

@keyframes aboutShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 0;
}

.about-image-frame:hover .founder-img {
    transform: scale(1.05);
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
    pointer-events: none;
}

/* Image Particles */
.image-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

/* Image Badge */
.image-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.image-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* Content Side */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-greeting {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.about-name {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.about-role {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.role-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.role-underline {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    margin-top: 12px;
    animation: roleUnderline 3s ease-in-out infinite;
}

@keyframes roleUnderline {
    0%, 100% { width: 60px; }
    50% { width: 120px; }
}

/* About Text */
.about-text {
    margin-bottom: 30px;
}

.about-paragraph {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-paragraph .highlight {
    color: var(--accent-primary);
    -webkit-text-fill-color: var(--accent-primary);
    font-weight: 700;
}

/* Stats Row */
.about-stats-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-lbl {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* CTA Row */
.about-cta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: var(--glass-bg);
    transform: translateY(-2px);
}

/* Social Links */
.about-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.social-row {
    display: flex;
    gap: 10px;
}

.about-social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-secondary);
}

.about-social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px) scale(1.1);
    color: var(--text-primary);
}

.about-social-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive About */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-frame {
        max-width: 320px;
    }
    
    .about-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-stats-row {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .about-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .about-cta-row {
        flex-direction: column;
    }
    
    .about-cta-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    background: var(--bg-secondary);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: var(--transition-medium);
}

.process-step:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.step-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.statistics {
    background: var(--bg-primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.stat-number-large {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-label-large {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question svg {
    transition: transform var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
    background: var(--bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.blog-content {
    padding: 30px;
    background: var(--bg-tertiary);
}

.blog-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.blog-link:hover {
    gap: 12px;
    color: var(--accent-secondary);
}

/* ============================================
   CONTACT SECTION - PREMIUM
   ============================================ */
.contact {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.ct-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: ctFloat 20s ease-in-out infinite;
}

.ct-orb-1 { width: 500px; height: 500px; background: var(--accent-primary); top: -15%; left: -10%; }
.ct-orb-2 { width: 400px; height: 400px; background: var(--accent-secondary); bottom: -10%; right: -10%; animation-delay: 7s; }
.ct-orb-3 { width: 350px; height: 350px; background: var(--accent-tertiary); top: 40%; left: 50%; animation-delay: 14s; }

@keyframes ctFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-40px) scale(1.1); }
    66% { transform: translate(-30px,30px) scale(0.9); }
}

.ct-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(99,102,241,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: ctGridScroll 30s linear infinite;
}

@keyframes ctGridScroll {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
}

.ct-particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
    align-items: start;
}

/* Info Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-card {
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ct-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 12px 40px rgba(99,102,241,0.15);
}

.ct-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.ct-card-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ct-card-text p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.ct-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.ct-action {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.ct-action:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* Contact Form */
.contact-form-col {
    position: relative;
}

.ct-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    color: var(--text-primary);
}

.form-group select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:active,
.form-group select option:checked {
    background: var(--accent-primary);
    color: #ffffff;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--accent-primary);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label,
.form-group select:valid + label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-medium);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border,
.form-group select:focus ~ .focus-border {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.form-success svg {
    width: 80px;
    height: 80px;
    stroke: #10b981;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    padding: 100px 0 30px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.hero-badge { animation-delay: 0.2s; }
.hero-title .title-line:nth-child(1) { animation-delay: 0.4s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.6s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.8s; }
.hero-subtitle { animation-delay: 1s; }
.hero-cta { animation-delay: 1.2s; }
.hero-stats { animation-delay: 1.4s; }

/* ============================================
   FLOATING WHATSAPP & CALL BUTTONS
   ============================================ */
.float-btn {
    position: fixed;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9995;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    text-decoration: none;
    animation: floatBtn 3s ease-in-out infinite;
}

.float-btn svg {
    width: 26px;
    height: 26px;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99,102,241,0.4);
}

.float-wa {
    bottom: 95px;
    background: #25D366;
    color: #fff;
    animation-delay: 0s;
}

.float-call {
    bottom: 30px;
    background: var(--accent-primary);
    color: var(--text-primary);
    animation-delay: 1.5s;
}

@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-col {
        order: -1;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ct-form {
        padding: 25px;
    }
    .ct-card {
        padding: 20px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        right: 15px;
    }
    .float-btn svg {
        width: 22px;
        height: 22px;
    }
    .float-wa { bottom: 80px; }
    .float-call { bottom: 20px; }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: right var(--transition-medium);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-cta {
        display: none;
    }

    .hero-mockups {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 2rem;
    }

    .projects-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .projects-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection styling */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}