/* ============================================
   kritix.io - Premium Portfolio CSS
   ============================================ */

/* === LTR Override === */
[dir="ltr"] body {
    direction: ltr;
    font-family: 'Inter', 'Space Grotesk', sans-serif;
}

[dir="ltr"] .nav-cta svg,
[dir="ltr"] .btn-secondary svg,
[dir="ltr"] .service-link svg,
[dir="ltr"] .contact-form .btn svg {
    transform: none;
}

[dir="ltr"] .nav-link::after {
    right: auto;
    left: 0;
}

[dir="ltr"] .service-features li {
    padding-right: 0;
    padding-left: 20px;
}

[dir="ltr"] .service-features li::before {
    right: auto;
    left: 0;
}

[dir="ltr"] .contact-info-card:hover {
    transform: translateX(-4px);
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 4px;
}

[dir="ltr"] .form-group select {
    background-position: right 16px center;
    padding-left: 18px;
    padding-right: 40px;
}

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --bg-primary: #030014;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(15, 15, 35, 0.6);
    --bg-card-hover: rgba(25, 25, 55, 0.8);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-1: #6366f1;  /* Indigo */
    --accent-2: #8b5cf6;  /* Violet */
    --accent-3: #a855f7;  /* Purple */
    --accent-4: #ec4899;  /* Pink */

    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-4));
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.4));

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(99, 102, 241, 0.3);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

    /* Typography */
    --font-primary: 'Heebo', sans-serif;
    --font-display: 'Space Grotesk', 'Heebo', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* === Cursor Glow Effect === */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* === Particles Canvas === */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* === Section Container === */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* === Section Header === */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* === Animations === */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

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

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(3, 0, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-suffix {
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.6;
}

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

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.lang-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--text-primary);
    transform: scale(1.05);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.nav-cta svg {
    transform: scaleX(-1);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    padding: 4px 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float-orb 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.15);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.12);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.1);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

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

/* Hero Content */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.15); box-shadow: none; }
    50% { border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-highlight {
    padding: 4px 0;
}

.hero-title .gradient-text {
    font-size: clamp(2.8rem, 7vw, 5rem);
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.4);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover .btn-shimmer {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-secondary svg {
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
    transform: scaleX(-1) translateX(4px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    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: 1.5rem;
    font-weight: 700;
    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(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

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

.service-card.featured {
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), var(--bg-card));
}

.service-card.featured .service-card-glow {
    opacity: 0.5;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 4px 14px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-1);
    transition: color 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-right: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-1);
    transition: all 0.3s ease;
}

.service-link svg {
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-3);
}

.service-link:hover svg {
    transform: scaleX(-1) translateX(4px);
}

/* ============================================
   MARQUEE / TECH TICKER
   ============================================ */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 30s linear infinite;
    padding-left: 40px;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.marquee-item:hover {
    color: var(--text-primary);
}

.marquee-dot {
    color: var(--accent-1);
    font-size: 0.6rem;
    opacity: 0.5;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: 300px;
}

.portfolio-large {
    grid-column: span 2;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 30%, var(--bg-primary)));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    left: -20px;
    animation-delay: -3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.08; }
    50% { transform: translate(15px, -15px) scale(1.1); opacity: 0.15; }
}

.shape-3 {
    animation-name: float-shape-center;
}

@keyframes float-shape-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.08; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
}

.placeholder-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 1;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 0, 20, 0.95) 0%, rgba(3, 0, 20, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: all 0.5s var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.05);
    transition: transform 0.5s var(--ease-out);
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out);
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent-1);
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.portfolio-tags span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
}

.timeline-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 1s var(--ease-out);
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.step-content {
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
}

.step-content:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-1);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    display: none;
}

.testimonial-nav-btn {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.nav-btn-fill {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-btn-fill.active {
    width: 100%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.12);
    top: -100px;
    right: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.08);
    bottom: -80px;
    left: -80px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-1);
}

.contact-info-card h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2px;
}

.contact-info-card a,
.contact-info-card span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-link:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.social-link:hover svg {
    color: var(--accent-1);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(99, 102, 241, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.contact-form .btn {
    margin-top: 8px;
}

.contact-form .btn svg {
    transform: scaleX(-1);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-1);
    padding-right: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    .portfolio-large {
        grid-column: span 2;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-line {
        display: none;
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider .testimonial-card:last-child {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .nav-actions .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile Menu */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(3, 0, 20, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .nav-links.mobile-open .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .portfolio-large {
        grid-column: span 1;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .testimonials-slider .testimonial-card:last-child {
        display: block;
    }

    .testimonials-slider .testimonial-card {
        display: none;
    }

    .testimonials-slider .testimonial-card.active {
        display: block;
    }

    .testimonials-nav {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .hero-title .gradient-text {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .cursor-glow {
        display: none;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form {
        padding: 24px;
    }

    .hero {
        padding: 100px 16px 60px;
    }
}

/* ============================================
   SPECIAL EFFECTS & MISC
   ============================================ */

/* Selection color */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Smooth loading */
body {
    opacity: 0;
    animation: fade-in 0.6s ease-out 0.2s forwards;
}

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

/* Magnetic button hover distortion */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

/* Glass morphism for cards on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 9998;
}

/* Animated gradient border on featured card */
.service-card.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: conic-gradient(from 0deg, var(--accent-1), var(--accent-3), var(--accent-4), var(--accent-1));
    z-index: -1;
    animation: rotate-gradient 4s linear infinite;
    opacity: 0.3;
}

@keyframes rotate-gradient {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}

/* ============================================
   ADDITIONAL LTR OVERRIDES
   ============================================ */
html[dir="ltr"] .hero-title,
html[dir="ltr"] .section-title,
html[dir="ltr"] .cta-title {
    font-family: 'Space Grotesk', 'Heebo', sans-serif;
}

html[dir="ltr"] .testimonial-text {
    font-style: italic;
}

/* Mobile lang toggle */
@media (max-width: 768px) {
    .nav-actions .lang-toggle {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1000;
        width: 44px;
        height: 44px;
        background: rgba(15, 15, 35, 0.9);
        border: 1px solid rgba(99, 102, 241, 0.3);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border-radius: 50%;
    }
}
