/* ============================================
   JUNAID KHALID - Portfolio
   Artistic Design with Vibrant Colors
   ============================================ */

/* Variables */
:root {
    /* Light Base */
    --color-black: #ffffff;
    --color-dark: #f8f9fa;
    --color-dark-lighter: #f1f3f5;
    
    /* Vibrant Accent Colors */
    --color-purple: #a855f7;
    --color-purple-light: #c084fc;
    --color-blue: #3b82f6;
    --color-blue-light: #60a5fa;
    --color-cyan: #22d3ee;
    --color-orange: #f97316;
    --color-orange-light: #fb923c;
    --color-pink: #ec4899;
    --color-green: #10b981;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--color-purple), var(--color-blue), var(--color-cyan));
    --gradient-warm: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    --gradient-cool: linear-gradient(135deg, var(--color-blue), var(--color-purple));
    
    /* Neutral Colors */
    --color-white: #1a1a2e;
    --color-gray: #4b5563;
    --color-gray-light: #6b7280;
    --color-gray-lighter: #374151;
    
    /* Background */
    --color-bg: #ffffff;
    --color-bg-card: #f8f9fa;
    --color-bg-card-hover: #e9ecef;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --container-width: 1400px;
    --section-padding: clamp(100px, 15vw, 180px);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Gradient Orbs Background
   ============================================ */
.gradient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-purple);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-blue);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.02); }
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
}

.preloader-letter {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: letterReveal 0.6s var(--ease-out-expo) forwards;
}

.preloader-letter:nth-child(2) { animation-delay: 0.05s; }
.preloader-letter:nth-child(3) { animation-delay: 0.1s; }
.preloader-letter:nth-child(4) { animation-delay: 0.15s; }
.preloader-letter:nth-child(5) { animation-delay: 0.2s; }
.preloader-letter:nth-child(6) { animation-delay: 0.25s; }
.preloader-letter:nth-child(7) { animation-delay: 0.3s; }
.preloader-letter:nth-child(8) { animation-delay: 0.35s; }
.preloader-letter:nth-child(9) { animation-delay: 0.4s; }
.preloader-letter:nth-child(10) { animation-delay: 0.45s; }
.preloader-letter:nth-child(11) { animation-delay: 0.5s; }
.preloader-letter:nth-child(12) { animation-delay: 0.55s; }
.preloader-letter:nth-child(13) { animation-delay: 0.6s; }

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-progress {
    width: 150px;
    height: 3px;
    background: var(--color-dark-lighter);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: loadBar 1.5s var(--ease-out) forwards;
}

@keyframes loadBar {
    to { width: 100%; }
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
    width: 12px;
    height: 12px;
    background: #1a1a2e;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform 0.15s var(--ease-out), opacity 0.15s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease-out), opacity 0.3s, border-color 0.3s;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--color-purple);
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--color-purple);
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-light);
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: #1a1a2e;
}

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

.nav-link-btn {
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--color-white) !important;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.nav-link-btn::after {
    display: none;
}

.nav-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s var(--ease-out);
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a1a2e;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s var(--ease-out), color 0.3s;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 0.85rem;
    color: var(--color-purple-light);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 120px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-purple-light), var(--color-blue-light), var(--color-cyan));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary span, .btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
    border-color: var(--color-purple);
    background: rgba(168, 85, 247, 0.1);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-top: 5px;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-purple), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@media (max-width: 768px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        justify-content: center;
        margin-top: 60px;
        gap: 40px;
    }
    .hero-scroll { display: none; }
}

/* ============================================
   Marquee Section
   ============================================ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 50px;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-gray);
    white-space: nowrap;
    transition: color 0.3s;
}

.marquee-content span:hover {
    color: var(--color-white);
}

.marquee-content .dot {
    font-size: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   Work Section - Horizontal Scroll
   ============================================ */
.work-section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-purple);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-header.center .section-tag::before {
    display: none;
}

.section-header.center .section-tag {
    padding-left: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray);
    margin-top: 15px;
}

/* Horizontal Scroll Projects */
.projects-horizontal-wrapper {
    position: relative;
    margin: 40px 0 60px;
    overflow: hidden;
}

.projects-horizontal-track {
    display: flex;
    gap: 40px;
    padding: 40px clamp(24px, 5vw, 80px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-horizontal-track::-webkit-scrollbar {
    display: none;
}

/* Horizontal Project Card */
.project-card-horizontal {
    flex: 0 0 auto;
    width: min(500px, 85vw);
    scroll-snap-align: start;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s var(--ease-out);
    transform-style: preserve-3d;
}

.project-card-horizontal:hover .card-inner {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 30px 60px rgba(168, 85, 247, 0.15);
    transform: translateY(-10px) rotateX(2deg);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.project-card-horizontal:hover .card-image img {
    transform: scale(1.1);
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-card) 0%, transparent 60%);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card-number {
    font-family: var(--font-display);
    font-size: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-purple-light);
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-white);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tech span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--color-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--color-gray-lighter);
}

.card-links {
    display: flex;
    gap: 12px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-white);
    transition: all 0.3s var(--ease-out);
}

.card-link svg {
    width: 16px;
    height: 16px;
}

.card-link:hover {
    border-color: var(--color-purple);
    background: rgba(168, 85, 247, 0.1);
}

.card-link.live {
    background: var(--gradient-primary);
    border-color: transparent;
}

.card-link.live:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

/* View All Button */
.view-all-wrapper {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-white);
    transition: all 0.3s var(--ease-out);
}

.view-all-btn:hover {
    border-color: var(--color-purple);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px);
}

.view-all-btn svg {
    transition: transform 0.3s var(--ease-out);
}

.view-all-btn:hover svg {
    transform: translateX(5px);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-dark) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-border {
    position: absolute;
    inset: -10px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: var(--gradient-primary) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.5rem;
}

.floating-badge span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content .section-title {
    margin-bottom: 30px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-gray-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
}

.highlight:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.highlight p {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: var(--section-padding) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    padding: 40px 30px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.service-card[data-color="purple"]::before { background: var(--color-purple); }
.service-card[data-color="blue"]::before { background: var(--color-blue); }
.service-card[data-color="orange"]::before { background: var(--color-orange); }
.service-card[data-color="green"]::before { background: var(--color-green); }

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    margin-bottom: 25px;
    transition: all 0.3s var(--ease-out);
}

.service-card[data-color="purple"] .service-icon { background: rgba(168, 85, 247, 0.1); }
.service-card[data-color="blue"] .service-icon { background: rgba(59, 130, 246, 0.1); }
.service-card[data-color="orange"] .service-icon { background: rgba(249, 115, 22, 0.1); }
.service-card[data-color="green"] .service-icon { background: rgba(16, 185, 129, 0.1); }

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card[data-color="purple"] .service-icon svg { stroke: var(--color-purple); }
.service-card[data-color="blue"] .service-icon svg { stroke: var(--color-blue); }
.service-card[data-color="orange"] .service-icon svg { stroke: var(--color-orange); }
.service-card[data-color="green"] .service-icon svg { stroke: var(--color-green); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--color-dark-lighter);
    border-radius: 50px;
    color: var(--color-gray-lighter);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f1f3f5 0%, #e9ecef 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-info .section-title {
    margin-bottom: 25px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--color-gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-purple);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a2e;
}

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

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #1a1a2e;
    transition: fill 0.3s;
}

.social-link:hover {
    border-color: var(--color-purple);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-5px);
}

.social-link:hover svg {
    fill: var(--color-purple);
}

/* Contact Form */
.contact-form {
    padding: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-purple);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 0.95rem;
    color: var(--color-gray);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--color-purple);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 40%, #c4b5fd 70%, #a855f7 100%);
    border-top: none;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #4b5563;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #7c3aed;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .footer-content,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
