/* ==========================================
   HarDesign - Style System
   Warm Tones Portfolio
   ========================================== */

/* --- CSS Variables --- */
:root {
    /* Warm Palette */
    --primary: #e85d04;
    --primary-light: #fb8500;
    --primary-dark: #c0400a;
    --accent: #f7931e;
    --accent-light: #ffb347;

    --warm-50: #fff8f0;
    --warm-100: #ffedd5;
    --warm-200: #fed7aa;
    --warm-300: #fdba74;
    --warm-400: #fb923c;
    --warm-500: #f97316;
    --warm-600: #ea580c;
    --warm-700: #c2410c;
    --warm-800: #9a3412;
    --warm-900: #7c2d12;

    /* Background & Surface */
    --bg-primary: #0d0b09;
    --bg-secondary: #151210;
    --bg-card: #1c1816;
    --bg-card-hover: #241e1a;
    --bg-elevated: rgba(232, 93, 4, 0.05);

    /* Text */
    --text-primary: #fef3e2;
    --text-secondary: #c4a882;
    --text-muted: #8a7560;
    --text-accent: #fb923c;

    /* Borders */
    --border: rgba(251, 146, 60, 0.1);
    --border-hover: rgba(251, 146, 60, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e85d04, #fb8500, #f7931e);
    --gradient-warm: linear-gradient(135deg, #ff6b35, #f7931e, #ffb347);
    --gradient-glow: radial-gradient(circle, rgba(232, 93, 4, 0.15), transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(232, 93, 4, 0.15);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* 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;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.06), transparent 60%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* --- Navbar --- */
.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(13, 11, 9, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-har {
    color: var(--text-primary);
}

.logo-design {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(251, 146, 60, 0.08);
}

.nav-link.active {
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Language Toggle --- */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(232, 93, 4, 0.06);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
    margin-left: 12px;
}

.lang-btn {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(232, 93, 4, 0.3);
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(232, 93, 4, 0.1);
    border: 1px solid rgba(232, 93, 4, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.section-header.left .section-description {
    margin: 16px 0 0;
}

.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232, 93, 4, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 93, 4, 0.4);
}

.btn-outline {
    border: 1.5px solid var(--border-hover);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(251, 146, 60, 0.08);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(232, 93, 4, 0.12);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(247, 147, 30, 0.1);
    bottom: -50px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(251, 133, 0, 0.08);
    top: 40%;
    left: 40%;
    animation: float 18s ease-in-out infinite 5s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: rgba(255, 179, 71, 0.06);
    top: 20%;
    left: 15%;
    animation: float 22s ease-in-out infinite 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(232, 93, 4, 0.08);
    border: 1px solid rgba(232, 93, 4, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease-out);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.stat {
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s var(--ease-out) 0.5s both;
}

.orbit-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(251, 146, 60, 0.08);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(251, 133, 0, 0.5);
}

.dot-1 {
    animation: orbit 15s linear infinite;
}

.dot-2 {
    animation: orbit 20s linear infinite reverse;
}

.dot-3 {
    animation: orbit 25s linear infinite 5s;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(175px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(175px) rotate(-360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.hero-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}

.card-icon {
    font-size: 1.5rem;
}

.card-1 {
    top: 40px;
    left: 20px;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    animation: cardFloat 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 40px;
    left: 60px;
    animation: cardFloat 6s ease-in-out infinite 4s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.card-2 {
    animation: cardFloat2 6s ease-in-out infinite 2s;
}

@keyframes cardFloat2 {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 12px));
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeInUp 1s var(--ease-out) 1s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- About Section --- */
.about {
    padding: var(--section-padding);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-intro {
    font-size: 1.15rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-intro strong {
    color: var(--primary-light);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.tech-stack {
    margin-top: 32px;
}

.tech-stack h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 6px 16px;
    background: rgba(232, 93, 4, 0.06);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.tech-tag:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(232, 93, 4, 0.1);
    transform: translateY(-2px);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
}

.info-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.08);
    border-radius: 14px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Services Section --- */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.services::before {
    top: 0;
}

.services::after {
    bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.4s 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:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(232, 93, 4, 0.06);
    position: absolute;
    top: 20px;
    right: 28px;
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.08);
    border-radius: 18px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Portfolio Section --- */
.portfolio {
    padding: var(--section-padding);
    position: relative;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 11, 9, 0.9);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: all 0.4s var(--ease-out);
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-preview {
    transform: scale(1.05);
}

.portfolio-info {
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-out);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(232, 93, 4, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Portfolio Preview (Mock Browser) */
.portfolio-preview {
    position: relative;
    z-index: 1;
    width: 85%;
    transition: transform 0.5s var(--ease-out);
}

.preview-browser {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-dots span:first-child {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #febc2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

.preview-content {
    padding: 16px;
    min-height: 150px;
}

.preview-nav-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    margin-bottom: 14px;
    width: 100%;
}

.preview-hero-block {
    margin-bottom: 14px;
    padding: 16px 0;
}

.preview-title-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    margin-bottom: 8px;
    width: 80%;
}

.preview-title-line.short {
    width: 50%;
}

.preview-title-line.center {
    margin-left: auto;
    margin-right: auto;
}

.preview-cards-row {
    display: flex;
    gap: 8px;
}

.preview-card-sm {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.preview-card-sm.tall {
    height: 60px;
}

.preview-stats-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.preview-stat-box {
    flex: 1;
    height: 35px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.preview-chart-block {
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.preview-logo-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 12px;
}

.preview-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
}

.preview-square {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.preview-hero-split {
    display: flex;
    gap: 12px;
    align-items: center;
}

.preview-text-block {
    flex: 1;
}

.preview-btn-bar {
    height: 10px;
    width: 60%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    margin-top: 8px;
}

.preview-image-block {
    flex: 1;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.preview-product-grid {
    display: flex;
    gap: 6px;
}

.preview-product {
    flex: 1;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.preview-product.tall {
    height: 80px;
}

.preview-fullwidth-img {
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s var(--ease-out);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.author-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s var(--ease-out);
}

.dot.active {
    background: var(--primary-light);
    box-shadow: 0 0 12px rgba(251, 133, 0, 0.4);
    transform: scale(1.2);
}

/* --- Contact Section --- */
.contact {
    padding: var(--section-padding);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
}

.contact-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.08);
    border-radius: 12px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

a.contact-value:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(232, 93, 4, 0.08);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    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='%238a7560' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-loading svg {
    animation: spin 1s linear infinite;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: #22c55e;
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
}

.form-success p span {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.footer-col a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        height: 350px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 20px;
        transition: right 0.4s var(--ease-out);
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-visual {
        height: 280px;
    }

    .orbit-ring {
        width: 250px;
        height: 250px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .contact-form-wrapper {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat::after {
        display: none;
    }

    .hero-visual {
        height: 220px;
    }

    .hero-card {
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .portfolio-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}