/* =====================================================
   JG SOLUCIONES - DARK LUXURY MONOCHROME
   ===================================================== */

/* =====================================================
   CSS VARIABLES - ELEGANT GRAYSCALE PALETTE
   ===================================================== */
:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Grayscale Accents (replacing color primary) */
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;

    /* Silver/Metallic Accents */
    --silver-light: #E5E7EB;
    --silver: #C0C0C0;
    --silver-dark: #9CA3AF;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Utility Colors */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background-color: var(--silver);
    color: var(--bg-primary);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

/* =====================================================
   CONTAINER & LAYOUT
   ===================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* =====================================================
   PARTICLES BACKGROUND
   ===================================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--silver);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.4));
    transition: var(--transition-smooth);
}

.logo-link:hover .logo {
    filter: drop-shadow(0 0 30px rgba(192, 192, 192, 0.6));
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--silver);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg,
            var(--gray-600) 0%,
            var(--silver) 50%,
            var(--gray-600) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: var(--bg-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(192, 192, 192, 0.5),
        0 4px 24px rgba(192, 192, 192, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 0 2px rgba(192, 192, 192, 0.8),
        0 8px 40px rgba(192, 192, 192, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    border: 2px solid var(--gray-700);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--silver);
    background: rgba(192, 192, 192, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9375rem;
}

.btn-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(192, 192, 192, 0.5),
            0 4px 24px rgba(192, 192, 192, 0.3),
            0 0 60px rgba(192, 192, 192, 0.2);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(192, 192, 192, 0.8),
            0 8px 40px rgba(192, 192, 192, 0.5),
            0 0 80px rgba(192, 192, 192, 0.4);
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(192, 192, 192, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver-light);
    margin-bottom: 24px;
}

.label-icon {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--silver) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.stat-number::after {
    content: '+';
    color: var(--silver);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sphere-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.sphere {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(192, 192, 192, 0.2) 100%);
    border-radius: 50%;
    border: 2px solid rgba(192, 192, 192, 0.3);
    box-shadow:
        0 0 60px rgba(192, 192, 192, 0.4),
        0 0 120px rgba(192, 192, 192, 0.3),
        inset 0 0 60px rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sphere-ring {
    position: absolute;
    border: 2px solid rgba(192, 192, 192, 0.2);
    border-radius: 50%;
    animation: rotate-ring 20s linear infinite;
}

.ring-1 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    animation-duration: 15s;
}

.ring-2 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 {
    width: 160%;
    height: 160%;
    top: -30%;
    left: -30%;
    animation-duration: 35s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-quaternary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--silver), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    background: var(--bg-secondary);
}

.social-proof-text {
    text-align: center;
    color: var(--text-quaternary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.tech-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-quaternary);
    transition: var(--transition-smooth);
    cursor: default;
}

.tech-item:hover {
    color: var(--silver-light);
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver-light);
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* =====================================================
   GLASS CARD
   ===================================================== */
.glass-card {
    background: linear-gradient(135deg,
            rgba(192, 192, 192, 0.08) 0%,
            rgba(192, 192, 192, 0.04) 50%,
            rgba(192, 192, 192, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(192, 192, 192, 0.35);
    box-shadow: 0 25px 50px -12px rgba(192, 192, 192, 0.25);
    transform: translateY(-4px);
}

/* =====================================================
   SERVICES SECTION - FLIP CARDS
   ===================================================== */
.services {
    background: var(--bg-secondary);
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* =====================================================
   SERVICE CARDS (STATIC - GLASS STYLE)
   ===================================================== */
.service-card-static {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg,
            rgba(192, 192, 192, 0.05) 0%,
            rgba(192, 192, 192, 0.02) 100%);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card-static:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg,
            rgba(192, 192, 192, 0.08) 0%,
            rgba(192, 192, 192, 0.04) 100%);
    border-color: rgba(192, 192, 192, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-static .service-description {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes features to the bottom */
}

/* Icon Styles */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 45%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.05) 55%,
            transparent 100%);
    transform: rotate(30deg);
    transition: transform 0.6s;
    opacity: 0;
}

.service-card-flip:hover .service-icon::after {
    opacity: 1;
    animation: shine-sweep 1.5s ease-out infinite;
}

.service-card-flip:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(192, 192, 192, 0.15);
    border-color: rgba(192, 192, 192, 0.3);
}

@keyframes shine-sweep {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.service-icon svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.service-title-front {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-title-back {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--silver);
}

.service-hint {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 8px;
    opacity: 0.7;
    font-style: italic;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    font-size: 0.75rem;
    background: rgba(192, 192, 192, 0.1);
    color: var(--silver-light);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(192, 192, 192, 0.2);
    font-weight: 500;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */
.projects {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 200px;
    background: rgba(192, 192, 192, 0.05);
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.project-placeholder {
    color: var(--text-quaternary);
    opacity: 0.5;
}

.project-content {
    padding: 0 8px 8px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-tertiary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--silver-light);
    font-weight: 500;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.about-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(192, 192, 192, 0.3);
    padding: 40px;
    background: rgba(192, 192, 192, 0.05);
    filter: drop-shadow(0 0 40px rgba(192, 192, 192, 0.3));
}

.about-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(192, 192, 192, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.about-text {
    text-align: left;
}

.about-paragraph {
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-skills {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.skill-icon {
    width: 32px;
    height: 32px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver-light);
    font-weight: 700;
    flex-shrink: 0;
}

.skill-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.skill-text p {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: rgba(192, 192, 192, 0.2);
    border-color: var(--silver);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(192, 192, 192, 0.2);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(192, 192, 192, 0.15) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(192, 192, 192, 0.3);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.contact-form {
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(192, 192, 192, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--silver);
    background: rgba(192, 192, 192, 0.08);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.form-input::placeholder {
    color: var(--text-quaternary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 24px;
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 16px;
    color: var(--silver-light);
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-tertiary);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--silver-light);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-quaternary);
    font-size: 0.875rem;
}

.heart {
    color: var(--silver);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .sphere-container {
        width: 300px;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-left: 1px solid rgba(192, 192, 192, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .btn-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-large {
        width: 100%;
        justify-content: center;
    }

    .sphere-container {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-flip {
        height: 280px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .tech-logos {
        gap: 24px;
    }

    .tech-item {
        font-size: 1rem;
    }
}

/* Mobile - Flip cards tap support */
@media (max-width: 767px) {
    .service-card-flip {
        cursor: pointer;
    }

    .service-hint {
        display: none;
    }
}

/* Spinner for form submission */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}