/* ===================================
   LAYERS GRAPHICS STUDIO - STYLES
   Design. Visualize. Elevate.
   =================================== */

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
    /* Color Palette - Sophisticated Dark Theme with Copper/Orange Accents */
    --color-primary: #FF6B35;
    /* Vibrant Orange (from logo) */
    --color-primary-light: #FF8C61;
    /* Light Orange */
    --color-primary-dark: #E55A2B;
    /* Dark Orange */
    --color-secondary: #D4A574;
    /* Copper/Rose Gold (from reference) */
    --color-secondary-light: #E0B88A;
    /* Light Copper */
    --color-accent: #FF6B35;
    /* Orange Accent */
    --color-accent-orange: #FF8C61;
    /* Light Orange */

    /* Background Colors - Dark Navy/Slate (Refined for better shading) */
    --color-bg-primary: #0B0E14;
    /* Deep Black-Navy */
    --color-bg-secondary: #161A23;
    /* Deep Slate */
    --color-bg-tertiary: #1C222D;
    /* Subtle Medium Slate */
    --color-bg-card: rgba(26, 31, 44, 0.4);
    /* More transparent for fused look */
    --color-bg-card-hover: rgba(30, 36, 50, 0.7);

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #94A3B8;
    /* Slate gray */
    --color-text-muted: #64748B;
    /* Muted slate */

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #D4A574 100%);
    /* Orange to Copper */
    --gradient-secondary: linear-gradient(135deg, #D4A574 0%, #FF8C61 100%);
    /* Copper to Orange */
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #D4A574 50%, #FF8C61 100%);
    /* Full gradient */
    --gradient-radial: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 80%);

    /* Depth & Shading - MATCHING REFERENCE IMAGE */
    --glass-bg: rgba(22, 26, 35, 0.5);
    --glass-border: rgba(255, 255, 255, 0.05);
    /* Extremely subtle border like reference */
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* Deep, soft shadow */

    /* Refined Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.2);
    --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother timing */
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    background-image: radial-gradient(circle at 50% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    /* Global soft glow */
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 70%);
    /* Subtle depth for each section */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--color-text-primary);
    overflow: hidden;
}

.btn-primary {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.1);
}

.btn-primary:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.1);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: #000;
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--text-lg);
}

/* ===================================
   PRELOADER
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-animation {
    text-align: center;
}

.layer-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
}

.flame {
    position: absolute;
    width: 40px;
    height: 60px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameFlicker 1.5s ease-in-out infinite;
}

.flame-1 {
    background: linear-gradient(180deg, #8B5CF6 0%, #A78BFA 100%);
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.flame-2 {
    background: linear-gradient(180deg, #EC4899 0%, #F472B6 100%);
    left: 20%;
    top: 20%;
    animation-delay: 0.3s;
}

.flame-3 {
    background: linear-gradient(180deg, #F59E0B 0%, #FB923C 100%);
    right: 20%;
    top: 20%;
    animation-delay: 0.6s;
}

@keyframes flameFlicker {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
}

.loading-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.flame-logo {
    position: absolute;
    width: 20px;
    height: 30px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.flame-logo.flame-1 {
    background: linear-gradient(180deg, #8B5CF6 0%, #A78BFA 100%);
    left: 50%;
    transform: translateX(-50%);
}

.flame-logo.flame-2 {
    background: linear-gradient(180deg, #EC4899 0%, #F472B6 100%);
    left: 5px;
    top: 10px;
}

.flame-logo.flame-3 {
    background: linear-gradient(180deg, #F59E0B 0%, #FB923C 100%);
    right: 5px;
    top: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #FF6B35 0%, transparent 70%);
    /* Orange */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #D4A574 0%, transparent 70%);
    /* Copper */
    top: 30%;
    right: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #FF8C61 0%, transparent 70%);
    /* Light Orange */
    bottom: -10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    animation: floatElement 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    color: var(--color-primary);
    animation-delay: 0s;
}

.element-2 {
    top: 10%;
    right: 10%;
    color: var(--color-secondary);
    animation-delay: 2s;
}

.element-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    animation-delay: 4s;
}

@keyframes floatElement {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.central-graphic {
    position: relative;
    width: 200px;
    height: 200px;
}

.rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: rotateRing 10s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(139, 92, 246, 0.3);
    animation-duration: 10s;
}

.ring-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(236, 72, 153, 0.3);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 100px;
    height: 100px;
    border-color: rgba(245, 158, 11, 0.3);
    animation-duration: 20s;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   FLOATING BOTTLE ANIMATION
   =================================== */
.floating-bottle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: bottleFloat 4s ease-in-out infinite;
}

.bottle-container {
    position: relative;
    width: 120px;
    height: 200px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.bottle-body {
    position: relative;
    width: 80px;
    height: 160px;
    margin: 0 auto;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.15) 0%,
            rgba(212, 165, 116, 0.25) 50%,
            rgba(255, 107, 53, 0.15) 100%);
    border-radius: 15px 15px 20px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 30px rgba(255, 107, 53, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.bottle-neck {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 35px;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.2) 0%,
            rgba(212, 165, 116, 0.3) 100%);
    border-radius: 8px 8px 0 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    backdrop-filter: blur(10px);
}

.bottle-cap {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #D4A574 100%);
    border-radius: 5px 5px 0 0;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.bottle-cap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.bottle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.3) 0%,
            rgba(212, 165, 116, 0.4) 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bottle-shine {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 10px;
    transform: rotate(-10deg);
    animation: shine 3s ease-in-out infinite;
}

.bottle-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 15px;
    background: radial-gradient(ellipse,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 70%);
    border-radius: 50%;
    animation: shadowPulse 4s ease-in-out infinite;
}

/* Bottle Float Animation */
@keyframes bottleFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-25px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(-2deg);
    }
}

/* Shine Animation */
@keyframes shine {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Shadow Pulse Animation */
@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.5;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-secondary);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-secondary);
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-xs);
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-text-secondary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--shadow-inner);
    /* Unified shading */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 53, 0.1);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card.featured {
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-glow);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.service-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.service-features i {
    color: var(--color-primary);
    font-size: var(--text-sm);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary-light);
    font-weight: 600;
    transition: var(--transition-base);
}

.service-link:hover {
    gap: var(--spacing-sm);
    color: var(--color-primary);
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */
.industries {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.industry-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
}

.industry-card:hover .industry-icon {
    transform: rotateY(360deg);
}

.industry-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.industry-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    padding: var(--spacing-3xl) 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.portfolio-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-secondary);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
}

.image-placeholder p {
    font-size: var(--text-lg);
    font-weight: 600;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(11, 14, 20, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    padding: var(--spacing-lg);
}

.overlay-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.overlay-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-text-primary);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-bounce);
}

.view-project:hover {
    transform: scale(1.1);
    gap: var(--spacing-sm);
}

.portfolio-cta {
    text-align: center;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-description {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    margin: var(--spacing-xl) 0;
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    color: var(--color-text-secondary);
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-item {
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.grid-item:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.item-content {
    text-align: center;
}

.item-content i {
    font-size: var(--text-4xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.item-content p {
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-3xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.info-content p,
.info-content a {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.info-content a:hover {
    color: var(--color-primary);
}

.social-links {
    margin-top: var(--spacing-xl);
}

.social-links h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    grid-column: 1 / -1;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: var(--spacing-xs);
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* ---- TABLET BREAKPOINT (1024px) ---- */
@media (max-width: 1024px) {
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .visual-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    /* Gradient orbs - scale down for tablets */
    .orb-1 {
        width: 350px;
        height: 350px;
    }

    .orb-2 {
        width: 280px;
        height: 280px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

/* ---- MOBILE BREAKPOINT (768px) ---- */
@media (max-width: 768px) {
    /* Reduce base text sizes */
    :root {
        --text-5xl: 2.25rem;
        --text-6xl: 2.75rem;
        --text-7xl: 3rem;
        --spacing-3xl: 4rem;
    }

    /* === NAVIGATION === */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-xl);
        gap: var(--spacing-lg);
        transition: left var(--transition-base);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: var(--text-xl);
        padding: var(--spacing-sm) 0;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hide CTA button in nav on mobile */
    .nav-actions .btn {
        display: none;
    }

    /* === HERO SECTION === */
    .hero {
        padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl);
        min-height: auto;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }

    .hero-visual {
        max-width: 300px;
    }

    .visual-card {
        padding: var(--spacing-md);
    }

    /* Scale down bottle on mobile */
    .bottle-container {
        width: 90px;
        height: 150px;
    }

    .bottle-body {
        width: 60px;
        height: 120px;
    }

    .bottle-neck {
        width: 22px;
        height: 26px;
        top: -22px;
    }

    .bottle-cap {
        width: 26px;
        height: 12px;
        top: -30px;
    }

    .bottle-label {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .bottle-shine {
        width: 14px;
        height: 60px;
    }

    .bottle-shadow {
        width: 70px;
        height: 10px;
    }

    /* Scale down floating elements */
    .floating-element {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }

    .central-graphic {
        width: 140px;
        height: 140px;
    }

    .ring-1 {
        width: 140px;
        height: 140px;
    }

    .ring-2 {
        width: 100px;
        height: 100px;
    }

    .ring-3 {
        width: 70px;
        height: 70px;
    }

    .center-logo {
        width: 55px;
        height: 55px;
        font-size: var(--text-xl);
    }

    /* Gradient orbs - prevent horizontal overflow */
    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        width: 220px;
        height: 220px;
    }

    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }

    /* === SECTION COMMON === */
    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .section-description {
        font-size: var(--text-base);
    }

    .section-badge {
        font-size: var(--text-xs);
        padding: 0.35rem var(--spacing-sm);
    }

    /* === SERVICES GRID === */
    .services {
        padding: var(--spacing-xl) 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-md);
    }

    .service-title {
        font-size: var(--text-xl);
    }

    /* === INDUSTRIES GRID === */
    .industries {
        padding: var(--spacing-xl) 0;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .industry-card {
        padding: var(--spacing-md);
    }

    .industry-icon {
        width: 70px;
        height: 70px;
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-md);
    }

    .industry-title {
        font-size: var(--text-base);
    }

    .industry-description {
        font-size: var(--text-sm);
    }

    /* === PORTFOLIO === */
    .portfolio {
        padding: var(--spacing-xl) 0;
    }

    .portfolio-filters {
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-xl);
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--text-sm);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }

    /* === ABOUT SECTION === */
    .about {
        padding: var(--spacing-xl) 0;
    }

    .about-description {
        font-size: var(--text-base);
    }

    .feature-item {
        padding: var(--spacing-md);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: var(--text-xl);
    }

    .feature-content h4 {
        font-size: var(--text-base);
    }

    .feature-content p {
        font-size: var(--text-sm);
    }

    .visual-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* === CONTACT SECTION === */
    .contact {
        padding: var(--spacing-xl) 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .info-card {
        padding: var(--spacing-md);
    }

    .info-icon {
        width: 48px;
        height: 48px;
        font-size: var(--text-base);
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    /* === FOOTER === */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* === BUTTONS === */
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--text-sm);
    }

    .btn-large {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--text-base);
    }

    /* === BACK TO TOP === */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }
}

/* ---- SMALL MOBILE BREAKPOINT (480px) ---- */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --spacing-3xl: 3rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: var(--text-xl);
    }

    .hero-visual {
        max-width: 250px;
    }

    /* Floating elements hidden on very small screens */
    .floating-element {
        display: none;
    }

    /* Industries 1 column on very small screens */
    .industries-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce gradient orbs further */
    .orb-1 {
        width: 180px;
        height: 180px;
    }

    .orb-2 {
        width: 140px;
        height: 140px;
    }

    .orb-3 {
        width: 160px;
        height: 160px;
    }

    /* Section titles */
    .section-title {
        font-size: var(--text-2xl);
    }

    /* Feature items stack better */
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    /* Info cards stack better */
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    /* Portfolio items - ensure proper sizing */
    .portfolio-item {
        aspect-ratio: 16/10;
    }

    .overlay-content h3 {
        font-size: var(--text-lg);
    }

    .overlay-content p {
        font-size: var(--text-sm);
        margin-bottom: var(--spacing-sm);
    }

    .view-project {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--text-sm);
    }

    /* Logo image smaller on very small screens */
    .logo-image {
        height: 36px;
    }
}

/* ---- EXTRA SMALL (360px and below) ---- */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: var(--text-sm);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .hero-visual {
        max-width: 220px;
    }

    .btn-large {
        padding: var(--spacing-xs) var(--spacing-lg);
        font-size: var(--text-sm);
    }
}