/* ============================================
   CLAUNECK TECHNOLOGIES - FINAL PROFESSIONAL STYLES
   ============================================ */

:root {
    --primary: #1e5aa8;
    --primary-dark: #153a6e;
    --primary-light: #4a90d9;
    --secondary: #60a5fa;
    --accent: #f59e0b;
    --success: #10b981;

    --bg-dark: #070d18;
    --bg-card: #0f1729;
    --bg-card-hover: #131d33;
    --bg-light: #f0f4f8;

    --text-primary: #e8eef4;
    --text-secondary: #7a8fb0;
    --text-muted: #4a5d7a;

    --silver: #a8b8d0;
    --silver-light: #c8d4e4;
    --border: rgba(100, 130, 180, 0.08);
    --border-hover: rgba(100, 130, 180, 0.2);

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(30, 90, 168, 0.15);

    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* ============================================
   LOADING BAR
   ============================================ */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.3s ease;
}

.loading-bar.active {
    width: 100%;
}

/* ============================================
   NAVIGATION - LOGO FIX
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 13, 24, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* LOGO - MUCH BIGGER AND PROFESSIONAL */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05)
    drop-shadow(0 0 10px rgba(30, 90, 168, 0.2));
    transition: var(--transition);
}

/* If logo has transparent background, add subtle glow */
.logo-img {
    filter: brightness(1.1) contrast(1.05) drop-shadow(0 0 10px rgba(30, 90, 168, 0.2));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Analytics Button */
.nav-container > .btn-sm {
    margin-right: 1rem;
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 1rem;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(30, 90, 168, 0.35), 0 0 0 1px rgba(30, 90, 168, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 90, 168, 0.5), 0 0 0 1px rgba(30, 90, 168, 0.3);
}

.btn-outline {
    background: rgba(168, 184, 208, 0.05);
    color: var(--silver);
    border-color: rgba(168, 184, 208, 0.2);
}

.btn-outline:hover {
    background: rgba(168, 184, 208, 0.1);
    border-color: rgba(168, 184, 208, 0.4);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 90, 168, 0.12) 0%, transparent 70%);
    animation: float 25s infinite ease-in-out;
}

.particle:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; width: 500px; height: 500px; }
.particle:nth-child(2) { top: 50%; left: 60%; animation-delay: -8s; background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%); width: 350px; height: 350px; }
.particle:nth-child(3) { top: 20%; left: 40%; animation-delay: -15s; background: radial-gradient(circle, rgba(168, 184, 208, 0.06) 0%, transparent 70%); width: 450px; height: 450px; }
.particle:nth-child(4) { top: 70%; left: 15%; animation-delay: -5s; width: 300px; height: 300px; }
.particle:nth-child(5) { top: 30%; left: 75%; animation-delay: -12s; background: radial-gradient(circle, rgba(30, 90, 168, 0.08) 0%, transparent 70%); width: 400px; height: 400px; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(30, 90, 168, 0.12);
    border: 1px solid rgba(30, 90, 168, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.25rem;
}

.hero > .hero-content > .hero-text > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(30, 90, 168, 0.2);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--silver));
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }

.status {
    font-size: 0.85rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.hero-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tech-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(30, 90, 168, 0.08);
    border: 1px solid rgba(30, 90, 168, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-light);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(30, 90, 168, 0.15);
    border-color: rgba(30, 90, 168, 0.3);
}

/* Code Preview */
.code-preview {
    background: #050a14;
    border-radius: 12px;
    padding: 1.25rem;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(100, 130, 180, 0.08);
    position: relative;
}

.code-preview::before {
    content: 'javascript';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.code-line {
    line-height: 2;
}

.code-keyword { color: #ff7b72; }
.code-var { color: #79c0ff; }
.code-string { color: #a5d6ff; }
.code-func { color: #d2a8ff; }

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted-by {
    padding: 4rem 0;
    background: rgba(15, 23, 41, 0.6);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%) brightness(0.8);
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    color: var(--silver);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(30, 90, 168, 0.08);
    border: 1px solid rgba(30, 90, 168, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 20px rgba(30, 90, 168, 0.3);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.875rem;
    font-weight: 700;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.service-keywords span {
    padding: 0.35rem 0.875rem;
    background: rgba(100, 130, 180, 0.06);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    font-weight: 500;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--text-primary);
}

.service-link:hover::after {
    width: 100%;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 8rem 0;
    background: rgba(15, 23, 41, 0.4);
}

.process-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0 0.5rem;
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(30, 90, 168, 0.1);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
    filter: grayscale(0.2);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0 0.5rem;
    align-self: center;
    opacity: 0.4;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.portfolio-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.02);
}

.portfolio-overlay {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
}

.portfolio-category {
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.portfolio-content {
    padding: 1.75rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

.portfolio-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-tag {
    padding: 0.25rem 0.625rem;
    background: rgba(30, 90, 168, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid rgba(30, 90, 168, 0.1);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.portfolio-link:hover {
    gap: 0.75rem;
    color: var(--text-primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-dark), rgba(30, 90, 168, 0.05), var(--bg-dark));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 90, 168, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 5rem 0 0;
    background: rgba(5, 10, 20, 0.95);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-brand > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.35rem;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(0.3);
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-4px);
    filter: grayscale(0);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a,
.footer-links li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.35rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .logo-img {
        height: 110px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        gap: 1.25rem;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-container > .btn-sm {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero > .hero-content > .hero-text > p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .process-step {
        margin: 0;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }

    .logo-img {
        height: 110px;
    }

    .nav-container {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0 1.25rem;
        height: 75px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.875rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trusted-logos {
        gap: 2rem;
    }

    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-card {
        padding: 1.75rem;
    }

    .services {
        padding: 5rem 0;
    }

    .process, .portfolio, .cta {
        padding: 5rem 0;
    }

    .logo-img {
        height: 110px;
    }
}