/* ====================== */
/* === CSS VARIABLES === */
/* ====================== */
:root {
    --color-bg: #fefcf6;
    --color-surface: #ffffff;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-primary: #6c5ce7;
    --color-primary-light: #a29bfe;
    --color-secondary: #00cec9;
    --color-accent: #fd79a8;
    --color-accent-alt: #fdcb6e;
    --color-pastel-green: #55efc4;
    --color-pastel-pink: #fab1a0;
    --color-pastel-purple: #d8b1f1;
    --color-pastel-yellow: #ffeaa7;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 20px 60px rgba(108, 92, 231, 0.08);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ====================== */
/* === RESET & BASE === */
/* ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background-color: var(--color-primary-light);
    color: var(--color-text);
}

/* ====================== */
/* === TYPOGRAPHY === */
/* ====================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background-color: var(--color-pastel-yellow);
    z-index: -1;
    border-radius: 2px;
}

/* ====================== */
/* === DECORATIVE ELEMENTS === */
/* ====================== */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-pastel-purple);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--color-pastel-yellow);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--color-pastel-green);
    top: 50%;
    right: 15%;
    animation-delay: -10s;
}

.floating-sticker {
    position: absolute;
    font-size: 2rem;
    animation: float 15s infinite ease-in-out alternate;
}

.sticker-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.sticker-2 {
    top: 60%;
    right: 10%;
    animation-delay: -3s;
}

.sticker-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* ====================== */
/* === NAVIGATION ENHANCED === */
/* ====================== */
.navbar {
    background: rgba(254, 252, 246, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0 !important;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(254, 252, 246, 0.95) !important;
    padding: 0.5rem 0 !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    padding: var(--space-xs) var(--space-sm) !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-xs) !important;
}

.navbar-brand:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-1px);
}

.brand-icon {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-icon {
    transform: rotate(90deg);
}

.navbar-nav {
    background: rgba(254, 252, 246, 0.7);
    backdrop-filter: blur(5px);
    padding: var(--space-xs) !important;
    border-radius: var(--radius-full);
    border: 1px solid rgba(108, 92, 231, 0.1);
    display: flex !important;
    align-items: center !important;
    gap: var(--space-sm) !important;
}

.nav-link {
    font-family: var(--font-mono) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--color-text-light) !important;
    text-decoration: none !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: var(--radius-full) !important;
    transition: all var(--transition-base) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    position: relative !important;
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
        transform: translateX(-50%);
        transition: width var(--transition-base);
    }

    .nav-link:hover::before {
        width: 70%;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--color-primary) !important;
        background: rgba(108, 92, 231, 0.05) !important;
        transform: translateY(-1px);
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        background: var(--color-primary);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        background: var(--color-surface) !important;
        backdrop-filter: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: var(--shadow-sm);
        padding: 0.75rem 0 !important;
    }

    .navbar.scrolled {
        padding: 0.75rem 0 !important;
        box-shadow: var(--shadow-sm);
    }

    .navbar-nav {
        background: var(--color-surface) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 80px var(--space-md) var(--space-md) !important;
        border-radius: 0 !important;
        border: none !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 1rem !important;
    }

    .nav-item {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: var(--space-xs) 0 !important;
    }

    .nav-link {
        font-size: 1.125rem !important;
        padding: var(--space-md) var(--space-lg) !important;
        width: 100%;
        text-align: center;
        background: var(--color-bg);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--color-primary) !important;
        color: white !important;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.navbar-toggler {
    border: none !important;
    padding: var(--space-xs) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(108, 92, 231, 0.1) !important;
    transition: all var(--transition-fast) !important;
}

.navbar-toggler:hover {
    background: rgba(108, 92, 231, 0.2) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25) !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.2);
    }
}

/* ====================== */
/* === GLOBAL CONTAINER - SATU KALI SAJA === */
/* ====================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

/* ====================== */
/* === HERO SECTION === */
/* ====================== */
.hero {
    min-height: 100vh;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(253, 203, 110, 0.03) 0%,
            rgba(162, 155, 254, 0.03) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    min-height: calc(100vh - 180px);
}

.card-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(108, 92, 231, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    margin-bottom: var(--space-md);
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.highlight-text {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.4em;
    background: linear-gradient(90deg, var(--color-pastel-yellow), var(--color-pastel-pink));
    z-index: -1;
    border-radius: 4px;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text-light);
}

.btn-outline:hover {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--color-pastel-purple), var(--color-pastel-yellow));
    border-radius: var(--radius-xl);
    filter: blur(20px);
    opacity: 0.4;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

.card-2 {
    animation-name: float-2;
}

@keyframes float-2 {
    0%, 100% {
        transform: translateY(0px) rotate(3deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@media (max-width: 1200px) {
    .hero-grid {
        gap: var(--space-md);
    }

    .floating-card {
        position: relative;
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto var(--space-md);
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .card-1,
    .card-2 {
        position: relative;
        margin-bottom: var(--space-md);
    }

    .image-wrapper {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .floating-card {
        display: none;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .image-wrapper {
        width: 320px;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(70px + var(--space-lg)) 0 var(--space-lg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .image-wrapper {
        width: 280px;
        height: 380px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .image-wrapper {
        width: 250px;
        height: 330px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .card-1 {
        right: 10%;
    }

    .card-2 {
        left: 10%;
    }
}

/* ====================== */
/* === CLIENTS SECTION === */
/* ====================== */
.clients {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(250, 177, 160, 0.05) 100%);
    overflow: hidden;
    position: relative;
}

.clients-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: start;
}

.clients-content {
    position: sticky;
    top: 120px;
}

.clients-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.clients-title {
    margin-bottom: var(--space-sm);
}

.clients-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 300px;
}

.clients-slider-container {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) 0;
}

.clients-swiper {
    overflow: hidden;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.clients-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding: 0 var(--space-sm);
}

.client-item {
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-image {
    max-width: 85%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition-base);
}

.client-item:hover .client-image {
    filter: grayscale(0%);
    opacity: 1;
}

.clients-swiper .swiper-pagination,
.clients-swiper .swiper-button-next,
.clients-swiper .swiper-button-prev {
    display: none !important;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-primary);
    display: none;
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--color-primary);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .clients-content {
        position: relative;
        top: 0;
        text-align: center;
    }

    .clients-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .clients-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-group {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .client-item {
        height: 120px;
        padding: var(--space-md);
    }

    .client-image {
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    .clients-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-item {
        height: 100px;
        padding: var(--space-sm);
    }

    .client-image {
        max-height: 60px;
    }
}

/* ====================== */
/* === ABOUT ME SECTION === */
/* ====================== */
.about {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(216, 177, 241, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    display: inline-block;
    background: rgba(108, 92, 231, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.about-description {
    margin-bottom: var(--space-lg);
}

.about-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-text.lead {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
}

.about-quote {
    position: relative;
    background: rgba(108, 92, 231, 0.03);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--color-primary);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-primary-light);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.about-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text);
    position: relative;
    z-index: 1;
    margin: 0;
}

.about-expertise {
    margin-bottom: var(--space-lg);
}

.about-expertise h4 {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.expertise-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-surface);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-text);
    transition: all var(--transition-base);
    cursor: default;
}

.expertise-tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-cta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    margin-bottom: var(--space-xl);
}

.about-image-main {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image-glow {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, 
        var(--color-pastel-purple), 
        var(--color-pastel-pink));
    border-radius: var(--radius-xl);
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 3;
    animation: floatBadge 6s infinite ease-in-out;
}

.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.badge-3 {
    top: 50%;
    right: -30px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 0.875rem;
    color: var(--color-text);
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ====================== */
/* === CLIENTS SECTION - 3 KOLOM DENGAN LOGO BESAR === */
/* ====================== */
.about-clients {
    margin-top: var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.clients-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.clients-label span {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.label-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.client-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.client-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 100%;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    background: white;
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-wrapper img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all var(--transition-base);
}

.client-card:hover .client-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
    font-style: italic;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .about-grid {
        gap: var(--space-lg);
    }
    
    .floating-badge {
        display: none;
    }
    
    .client-card {
        height: 100px;
        padding: var(--space-sm);
    }
    
    .client-logo-wrapper img {
        max-height: 60px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-image-main {
        max-width: 400px;
    }
    
    .about-cta {
        justify-content: flex-start;
    }
    
    .clients-label {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about {
        padding: var(--space-lg) 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text.lead {
        font-size: 1.125rem;
    }
    
    .about-quote {
        padding: var(--space-md);
    }
    
    .expertise-tags {
        gap: var(--space-xs);
    }
    
    .expertise-tag {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .about-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .client-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .client-card {
        height: 90px;
        padding: var(--space-sm);
    }
    
    .client-logo-wrapper img {
        max-height: 50px;
    }
}

@media (max-width: 640px) {
    .client-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .client-card {
        height: 85px;
    }
    
    .client-logo-wrapper img {
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-badge {
        font-size: 0.75rem;
    }
    
    .about-clients {
        padding: var(--space-md);
    }
    
    .clients-label span {
        font-size: 0.75rem;
    }
    
    .client-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }
    
    .client-card {
        height: 75px;
        padding: var(--space-xs);
    }
    
    .client-logo-wrapper img {
        max-height: 40px;
    }
    
    .clients-note {
        font-size: 0.8rem;
    }
}

.about[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================== */
/* === FEATURES SECTION === */
/* ====================== */
.features {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
            rgba(85, 239, 196, 0.03) 0%,
            rgba(253, 121, 168, 0.03) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-tilt-1 {
    transform: rotate(-1deg);
}

.card-tilt-2 {
    transform: rotate(2deg);
}

.card-tilt-3 {
    transform: rotate(-2deg);
}

.card-tilt-4 {
    transform: rotate(1deg);
}

.feature-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-light);
}

.feature-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--color-pastel-green);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: var(--space-md);
    }

    .feature-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-lg);
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: var(--space-md);
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
}

/* ====================== */
/* === CREATIVE SECTION === */
/* ====================== */
.creative {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(253, 203, 110, 0.05), rgba(162, 155, 254, 0.05));
    border-radius: var(--radius-xl);
    margin: var(--space-xl) auto;
    max-width: 1400px;
}

.creative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.creative-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.creative-highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.creative-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background-color: var(--color-pastel-pink);
    z-index: -1;
    border-radius: 2px;
}

.creative-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.creative-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-item {
    position: absolute;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.visual-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.item-1 {
    width: 180px;
    height: 120px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--color-pastel-purple), var(--color-primary-light));
    transform: rotate(-5deg);
}

.item-2 {
    width: 200px;
    height: 140px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(3deg);
    background: linear-gradient(135deg, var(--color-pastel-yellow), var(--color-accent-alt));
}

.item-3 {
    width: 160px;
    height: 100px;
    bottom: 0;
    left: 40%;
    transform: rotate(-2deg);
    background: linear-gradient(135deg, var(--color-pastel-green), var(--color-secondary));
}

.visual-label {
    font-family: var(--font-mono);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.visual-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-pastel-pink);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media (max-width: 1024px) {
    .creative-grid {
        gap: var(--space-lg);
    }

    .creative-visual {
        height: 350px;
    }

    .visual-item {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .creative-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .creative-visual {
        height: 300px;
        order: -1;
    }

    .visual-item {
        transform: scale(0.8);
    }

    .creative-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .creative {
        margin: var(--space-lg) var(--space-md);
        border-radius: var(--radius-lg);
    }

    .visual-item {
        transform: scale(0.7);
    }

    .item-1 {
        left: -20px;
    }

    .item-2 {
        right: 0;
    }

    .item-3 {
        left: 30%;
    }
}

/* ====================== */
/* === PROJECTS SECTION === */
/* ====================== */
.projects {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
            rgba(168, 255, 235, 0.03) 0%,
            rgba(200, 171, 255, 0.03) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.project-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-large {
    grid-column: span 2;
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-large .project-image {
    height: 400px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: var(--space-sm);
    align-self: flex-start;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.project-meta {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.project-meta i {
    transition: var(--transition-fast);
}

.project-card:hover .project-meta i {
    transform: translate(4px, -4px);
}

.projects-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

@media (max-width: 1024px) {
    .project-large {
        grid-column: span 1;
    }

    .project-large .project-image {
        height: 300px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .project-image {
        height: 250px;
    }

    .project-overlay {
        padding: var(--space-md);
    }

    .project-title {
        font-size: 1.3rem;
    }

    .projects-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 200px;
    }

    .project-meta {
        padding: var(--space-sm);
        font-size: 0.8rem;
    }
}

/* ====================== */
/* === TESTIMONIALS SECTION === */
/* ====================== */
.testimonials {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
            rgba(253, 121, 168, 0.03) 0%,
            rgba(108, 92, 231, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    margin-top: var(--space-lg);
    position: relative;
}

.testimonial-item {
    padding: var(--space-xs);
    height: auto;
}

.testimonial-card {
    background: var(--color-surface);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    max-height: 380px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-primary-light);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: var(--space-sm);
    color: var(--color-accent-alt);
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--space-md);
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--color-text);
}

.author-info p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin: 0;
}

.owl-carousel .owl-stage-outer {
    overflow: visible;
    padding: var(--space-sm) 0;
}

.owl-item {
    opacity: 0.3;
    transition: var(--transition-base);
}

.owl-item.active {
    opacity: 1;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-lg);
}

.owl-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-light);
    opacity: 0.3;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
}

.owl-dot.active {
    width: 30px;
    border-radius: 20px;
    background: var(--color-primary);
    opacity: 1;
}

.owl-dot:hover {
    opacity: 0.8;
    background: var(--color-primary-light);
}

.owl-nav,
.nav-btn,
.prev-btn,
.next-btn,
.testimonial-nav,
.owl-carousel .owl-nav,
.owl-carousel .owl-nav button,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
    display: none !important;
}

@media (max-width: 1200px) {
    .testimonial-card {
        min-height: 300px;
        max-height: 350px;
        padding: var(--space-md);
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        padding: var(--space-md);
        min-height: 280px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        margin-top: var(--space-md);
    }
    
    .testimonial-card {
        padding: var(--space-md);
        min-height: 260px;
        max-height: 300px;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
    
    .testimonial-author {
        padding-top: var(--space-sm);
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
    }
    
    .author-info p {
        font-size: 0.7rem;
    }
    
    .testimonial-dots {
        margin-top: var(--space-md);
    }
    
    .owl-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: var(--space-sm);
        min-height: 240px;
        max-height: 280px;
    }
    
    .quote-icon {
        font-size: 3rem;
        top: -5px;
        left: 10px;
    }
    
    .testimonial-rating {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        margin-bottom: var(--space-sm);
        -webkit-line-clamp: 3;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
    }
    
    .owl-dots {
        gap: 6px;
    }
    
    .owl-dot {
        width: 6px;
        height: 6px;
    }
    
    .owl-dot.active {
        width: 20px;
    }
}

/* ====================== */
/* === CONTACT SECTION === */
/* ====================== */
.contact {
    padding: var(--space-lg) 0;
    background: linear-gradient(135deg,
            rgba(108, 92, 231, 0.02),
            rgba(0, 206, 201, 0.02));
    border-radius: var(--radius-lg);
    margin: var(--space-lg) auto;
    max-width: 1200px;
}

.contact-header-compact {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
    background: rgba(108, 92, 231, 0.08);
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.contact-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 450px;
    margin: 0 auto;
}

.contact-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: stretch;
}

.contact-info-compact {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quick-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: 0;
}

.quick-contact-item {
    background: #fafbfc;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.quick-contact-item:hover {
    background: white;
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.quick-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.quick-detail {
    flex: 1;
}

.quick-detail h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.quick-detail p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.mini-copy {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mini-copy:hover {
    background: var(--color-primary);
    color: white;
}

.social-links-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xs);
    margin: 0;
}

.social-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--space-xs) var(--space-sm);
    background: #fafbfc;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.social-compact i {
    font-size: 0.8rem;
}

.social-compact:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.social-compact.dribbble:hover { background: #ea4c89; }
.social-compact.linkedin:hover { background: #0077b5; }
.social-compact.github:hover { background: #333; }
.social-compact.instagram:hover { background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5); }

.response-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: rgba(108, 92, 231, 0.05);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    color: var(--color-primary);
    border: 1px dashed var(--color-primary-light);
}

.response-badge i {
    font-size: 0.8rem;
}

.contact-form-compact {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-compact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    height: 100%;
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group-compact {
    margin-bottom: 0;
}

.form-group-compact input,
.form-group-compact select,
.form-group-compact textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    border: 1.5px solid #eef2f6;
    border-radius: var(--radius-md);
    background: #fafbfc;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.form-group-compact input:focus,
.form-group-compact select:focus,
.form-group-compact textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.05);
}

.form-group-compact textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 120px;
}

.form-group-compact select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c5ce7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.btn-submit-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--space-xs);
    letter-spacing: 0.5px;
}

.btn-submit-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.btn-submit-compact:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .contact-grid-compact {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .contact-info-compact {
        order: 2;
    }
    
    .contact-form-compact {
        order: 1;
    }
    
    .quick-contact-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: var(--space-md) 0;
        margin: var(--space-md);
    }
    
    .quick-contact-row {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    
    .quick-contact-item {
        width: 100%;
    }
    
    .social-links-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row-compact {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
}

@media (max-width: 480px) {
    .contact-header-compact {
        margin-bottom: var(--space-md);
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .social-links-compact {
        grid-template-columns: 1fr;
    }
    
    .social-compact {
        justify-content: flex-start;
        padding: 10px 16px;
    }
    
    .contact-info-compact,
    .contact-form-compact {
        padding: var(--space-sm);
    }
}

.contact-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.contact-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.contact-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.contact-message i {
    font-size: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ====================== */
/* === FOOTER === */
/* ====================== */
.footer {
    position: relative;
    padding: var(--space-lg) 0 var(--space-md);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(252,250,245,0.99) 100%);
    border-top: 1px solid rgba(108,92,231,0.08);
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    opacity: 0.5;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.brand-wrapper {
    margin-bottom: var(--space-xs);
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-block;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.brand-dot {
    color: var(--color-secondary);
    font-size: 2.5rem;
    line-height: 1;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    max-width: 280px;
    margin: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--space-xs);
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108,92,231,0.05);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108,92,231,0.2);
}

.footer-newsletter {
    margin-top: var(--space-xs);
}

.newsletter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    align-items: center;
    max-width: 260px;
    background: white;
    border-radius: var(--radius-full);
    padding: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

.newsletter-form button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--color-secondary);
    transform: rotate(90deg);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.link-group {
    display: flex;
    flex-direction: column;
}

.link-group h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-primary-light);
    border-radius: 2px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-group li {
    margin: 0;
    padding: 0;
}

.link-group a {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.link-group a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--color-primary);
}

.link-group a:hover {
    color: var(--color-primary);
    transform: translateX(15px);
}

.link-group a:hover::before {
    opacity: 1;
    left: -5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(108,92,231,0.1);
    margin-top: var(--space-sm);
}

.bottom-left {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.divider {
    color: var(--color-primary-light);
    font-size: 0.8rem;
    opacity: 0.5;
}

.crafted {
    font-size: 0.8rem;
    color: var(--color-text-light);
    opacity: 0.7;
    font-style: italic;
}

.bottom-right {
    display: flex;
    align-items: center;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(108,92,231,0.03);
    border-radius: var(--radius-full);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.back-to-top:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.back-to-top i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-brand-section {
        text-align: center;
        align-items: center;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-newsletter {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .link-group {
        align-items: center;
        text-align: center;
    }
    
    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .link-group a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .link-group a::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-md) 0;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .bottom-left {
        flex-direction: column;
        gap: 4px;
    }
    
    .divider {
        display: none;
    }
    
    .back-to-top {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.8rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-newsletter {
        max-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: var(--space-xs);
    }
    
    .newsletter-form input {
        width: 100%;
        background: white;
        border-radius: var(--radius-full);
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .newsletter-form button {
        width: 100%;
        border-radius: var(--radius-full);
        padding: 12px;
    }
}

.newsletter-message {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.newsletter-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.newsletter-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ====================== */
/* === WAVE BACKGROUND === */
/* ====================== */
.wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* ====================== */
/* === SCROLL ANIMATIONS === */
/* ====================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================== */
/* === CUSTOM SCROLLBAR === */
/* ====================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ====================== */
/* === LOADING ANIMATION === */
/* ====================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--color-primary-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ====================== */
/* === GLOBAL RESPONSIVE ADJUSTMENTS === */
/* ====================== */
@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 3rem;
        --space-md: 1.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 3rem;
        --space-lg: 2rem;
        --space-md: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }
}