/* ===============================
   PREMIUM AGENCY DESIGN SYSTEM
   =============================== */

:root {
    /* Color Palette - Premium Dark */
    --bg-main: #050507;
    --bg-secondary: #0a0a0e;
    --bg-tertiary: #111118;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #334155;
    
    --accent-primary: #6366f1; /* Indigo */
    --accent-secondary: #a855f7; /* Purple */
    --accent-tertiary: #ec4899; /* Pink */
    
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-text: linear-gradient(to right, var(--accent-primary), var(--accent-tertiary));
    
    /* Glassmorphism & UI */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects & Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    
    /* Spacing */
    --section-padding: 120px 0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    position: relative;
    /* Hide default cursor for custom cursor */
    cursor: none; 
}

/* Fallback cursor for touch/mobile */
@media (max-width: 1024px) {
    body { cursor: auto; }
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none; /* Let custom cursor handle hovering */
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

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

.text-sm {
    font-size: 0.875rem;
}

.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 15px; }
.mt-50 { margin-top: 50px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* ===============================
   CUSTOM OUTLINE CURSOR
   =============================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Cursor Hover States */
body.hovering .cursor-dot {
    width: 0;
    height: 0;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-secondary);
    backdrop-filter: blur(2px);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ===============================
   AMBIENT BACKGROUND GRADES (BLOBS)
   =============================== */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.shape-2 {
    bottom: -15%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    animation-delay: -5s;
    opacity: 0.3;
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    animation-delay: -10s;
    opacity: 0.2;
    transform: translateX(-50%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* ===============================
   TYPOGRAPHY & UTILITIES
   =============================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pre-heading {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ===============================
   GLASSMORPHISM PANELS
   =============================== */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-panel:hover {
    border-color: var(--glass-highlight);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===============================
   BUTTONS
   =============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary i {
    transition: transform var(--transition-fast);
}

.btn-primary:hover i {
    transform: translateX(4px) scale(1.1);
}

.btn-glow {
    box-shadow: 0 10px 30px -10px var(--accent-primary);
}

.btn-glow:hover {
    box-shadow: 0 15px 40px -5px var(--accent-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 2px; /* For gradient border */
    background-image: var(--gradient-primary);
    border-radius: 50px;
}

.btn-secondary .btn-inner {
    background: var(--bg-main);
    padding: 14px 34px;
    border-radius: 48px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.btn-secondary:hover .btn-inner {
    background: transparent;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass-highlight);
    border-color: rgba(255,255,255,0.2);
}

/* ===============================
   NAVIGATION
   =============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hamburger {
    display: none;
    cursor: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger .bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.hamburger .bar:nth-child(1) { top: 0; }
.hamburger .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger .bar:nth-child(3) { bottom: 0; }

.hamburger.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Visual & Mockups */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.main-hero-card {
    width: 380px;
    background: rgba(15, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5), 
                0 0 40px rgba(99, 102, 241, 0.15);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .main-hero-card {
    transform: rotateY(-5deg) rotateX(2deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.card-title {
    font-family: monospace;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.chart-container {
    height: 200px;
    display: flex;
    align-items:flex-end;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chart-bar {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 6px 6px 0 0;
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.chart-bar.primary {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.metric-row i {
    font-size: 2rem;
    color: #10b981; /* Green */
    background: rgba(16, 185, 129, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.metric-row h4 {
    font-size: 1.2rem;
    color: var(--text-main);
}
.metric-row p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Floating Elements */
.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.icon-shopify {
    top: 50px;
    left: 20px;
    color: #95bf47; /* Shopify Green */
    animation: float 6s ease-in-out infinite;
    transform: translateZ(50px);
}

.icon-chart {
    bottom: 50px;
    right: -20px;
    color: var(--accent-secondary);
    animation: float 8s ease-in-out infinite reverse;
    transform: translateZ(80px);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ===============================
   INFINITE TICKER (INDUSTRIES)
   =============================== */
.industries-ticker {
    padding: 40px 0;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    display: flex;
}

.industries-ticker::before,
.industries-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.industries-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-tertiary) 0%, transparent 100%);
}

.industries-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-tertiary) 0%, transparent 100%);
}

.ticker-wrapper {
    display: flex;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticker-content span.dot {
    color: var(--accent-primary);
    margin: 0 40px;
    font-size: 2rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half to loop */
}

/* ===============================
   SERVICES SECTION
   =============================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 30px;
}

.service-link {
    font-weight: 600;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--text-main);
}
.service-link:hover i {
    transform: translateX(5px);
}

/* Glow on hover relative to mouse */
.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* ===============================
   ABOUT SECTION
   =============================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.globe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-ring {
    position: absolute;
    width: 90%;
    height: 90%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.globe-ring.ring-2 {
    width: 110%;
    height: 110%;
    border: 1px dashed rgba(99, 102, 241, 0.3);
    animation: spin 30s linear infinite reverse;
}

.globe-core {
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at 30% 30%, var(--bg-tertiary), var(--bg-main));
    border-radius: 50%;
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.5),
                0 0 50px rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

.globe-core.dollar-anim i {
    color: #fbbf24; /* Golden Yellow */
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.6), 0 0 60px rgba(251, 191, 36, 0.3);
    animation: pulseDollar 2s infinite alternate ease-in-out;
}

@keyframes pulseDollar {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.features-list {
    margin-top: 40px;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 16px;
    transition: var(--transition-fast);
}

.features-list li:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===============================
   PROCESS SECTION
   =============================== */
.process-path {
    position: relative;
    padding: 40px 0;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step {
    background: var(--bg-main);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.process-step.mt-shifted {
    transform: translateY(60px);
}

.process-step:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.process-step:hover .step-number {
    -webkit-text-stroke: 1px var(--accent-primary);
    color: rgba(99, 102, 241, 0.1);
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===============================
   PORTFOLIO
   =============================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    border-radius: 24px;
    overflow: hidden;
    padding: 10px;
}

.portfolio-image {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.mockup-bg {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Continuous ambient breathing animation for mockups */
@keyframes mockupBreathe {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.portfolio-item:hover .mockup-bg { 
    transform: scale(1.2); 
    color: rgba(255,255,255,0.25);
}

.mockup-1 { background: linear-gradient(135deg, #1e293b, #0f172a); animation: mockupBreathe 4s infinite alternate ease-in-out; }
.mockup-2 { background: linear-gradient(135deg, #312e81, #1e1b4b); animation: mockupBreathe 5s infinite alternate ease-in-out 1s; }
.mockup-3 { background: linear-gradient(135deg, #064e3b, #022c22); animation: mockupBreathe 4.5s infinite alternate ease-in-out 0.5s; }
.mockup-4 { background: linear-gradient(135deg, #7c2d12, #450a0a); animation: mockupBreathe 5.5s infinite alternate ease-in-out 1.5s; }

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,7,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
}

.view-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-item:hover .image-overlay { opacity: 1; }
.portfolio-item:hover .view-btn { transform: translateY(0); }

.portfolio-info {
    padding: 0 10px 10px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.portfolio-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--text-muted);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===============================
   CTA SECTION
   =============================== */
.cta-section {
    padding: 40px 0;
}

.cta-box {
    padding: 80px 60px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.glass-highlight::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg);
    animation: shine 8s infinite linear;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* ===============================
   CONTACT SECTION
   =============================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-container {
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

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

input, textarea, select {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 18px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
    cursor: none;
}

input:focus, textarea:focus, select:focus {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    border-radius: 0 0 12px 12px;
}

input:focus ~ .focus-border, 
textarea:focus ~ .focus-border {
    width: 100%;
}

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

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
}

.select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ===============================
   FOOTER
   =============================== */
.footer-top {
    padding: 80px 0 60px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .footer-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 350px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

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

.footer-links h3, .footer-newsletter h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    min-width: 0;
}

.newsletter-form button {
    background: var(--accent-primary);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: none;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-secondary);
}

.footer-bottom {
    padding: 24px 0;
    background: #000;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links a {
    transition: color 0.2s;
}
.legal-links a:hover {
    color: var(--text-main);
}
.sep { margin: 0 10px; color: rgba(255,255,255,0.2); }

/* ===============================
   ANIMATION CLASSES (Triggered by JS)
   =============================== */
[data-animate] {
    opacity: 0;
    visibility: hidden;
}

/* Will add active classes in JS */
.is-animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    visibility: visible;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-left {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-right {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoom-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up { animation-name: fade-up; }
.animate-fade-left { animation-name: fade-left; }
.animate-fade-right { animation-name: fade-right; }
.animate-zoom-in { animation-name: zoom-in; }
.animate-fade-in { animation-name: fade-in; }

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 4rem; }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-badge { margin: 0 auto 30px; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-step.mt-shifted { transform: translateY(0); }
    .process-line { display: none; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100vw; height: 100vh;
        background: rgba(5,5,7,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        backdrop-filter: blur(20px);
    }
    
    .nav-links.active { right: 0; }
    .nav-link { font-size: 1.5rem; }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom-inner { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .section { padding: 80px 0; }
    .btn { width: 100%; }
    .process-steps { grid-template-columns: 1fr; }
}
