/*
  OLD FORGE TECHNOLOGIES - DESIGN SYSTEM
  Built on golden ratio principles and modern web standards
*/

/* =====================================
   CSS RESET & BASE
   ===================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #e8e8ea;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =====================================
   DESIGN TOKENS
   ===================================== */
:root {
    /* Golden Ratio & Fibonacci */
    --phi: 1.618;
    --space-1: 8px;      /* Fibonacci */
    --space-2: 13px;
    --space-3: 21px;
    --space-4: 34px;
    --space-5: 55px;
    --space-6: 89px;
    --space-7: 144px;

    /* Colors - Sophisticated palette */
    --color-bg: #0a0a0f;
    --color-bg-elevated: #14141f;
    --color-bg-card: rgba(255, 255, 255, 0.04);

    --color-pink: #ff0080;
    --color-pink-light: #ff4081;
    --color-pink-glow: rgba(255, 0, 128, 0.3);

    --color-cyan: #00ffff;
    --color-cyan-glow: rgba(0, 255, 255, 0.2);

    --color-purple: #b400ff;

    --color-text: #e8e8ea;
    --color-text-muted: #a0a0a8;
    --color-text-dim: #6b6b75;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-pink: 0 0 40px var(--color-pink-glow);
    --shadow-glow-cyan: 0 0 40px var(--color-cyan-glow);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 13px;
    --radius-lg: 21px;
    --radius-xl: 34px;
    --radius-full: 9999px;

    /* Typography Scale (Fluid) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-2xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
    --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================
   UTILITIES
   ===================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================
   NAVIGATION
   ===================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 700;
    font-size: var(--text-lg);
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 45px;
    width: auto;
    filter: brightness(1);
    transition: filter var(--transition-fast);
}

.logo:hover .logo-image {
    filter: brightness(0.8);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: var(--shadow-glow-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    list-style: none;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-pink);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    color: white !important;
    box-shadow: var(--shadow-glow-pink);
    transition: all var(--transition-base);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 128, 0.5);
}

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

/**
 * Active state for nav links
 * Applied by navbar.js based on current page
 */
.nav-link.active:not(.btn-nav) {
    color: var(--color-pink);
}

.nav-link.active:not(.btn-nav)::after {
    width: 100%;
}

/**
 * Mobile Menu Toggle Button
 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #4a4a4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =====================================
   HERO SECTION
   ===================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-7) 0 var(--space-6);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

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

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-pink), transparent);
    top: -250px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-cyan), transparent);
    bottom: -200px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-purple), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-pink);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: var(--text-3xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-5);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================
   BUTTONS
   ===================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    color: white;
    box-shadow: var(--shadow-glow-pink);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 0, 128, 0.5);
}

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

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

/* =====================================
   SECTIONS
   ===================================== */
section {
    padding: var(--space-6) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-6);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

/* =====================================
   SERVICES SECTION
   ===================================== */
.services {
    background: var(--color-bg-elevated);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 128, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
    background: rgba(255, 255, 255, 0.06);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-glow-pink);
    transition: transform var(--transition-base);
}

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

.service-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    margin-top: var(--space-2);
}

.service-link:hover {
    color: var(--color-pink-light);
    gap: var(--space-2);
}

/* =====================================
   PRODUCTS SECTION
   ===================================== */
.products {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    padding: var(--space-7) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-5);
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card.featured {
    border-color: rgba(255, 0, 128, 0.3);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.05), rgba(255, 64, 129, 0.05));
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
}

.product-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.coming-soon {
    background: linear-gradient(135deg, #666, #888);
}

.product-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-glow-pink);
}

.product-card h3 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.product-tagline {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-pink);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card > p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-4);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.product-features i {
    color: var(--color-pink);
    font-size: 14px;
}

.product-card .coming-soon + .product-icon + h3 ~ .product-features i {
    color: #888;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* =====================================
   ABOUT SECTION
   ===================================== */
.about {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.about-text > p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.step {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 128, 0.3);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 800;
    color: white;
    margin: 0 auto var(--space-3);
    box-shadow: var(--shadow-glow-pink);
}

.step h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.step p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* =====================================
   NEWS SECTION
   ===================================== */
.news {
    background: var(--color-bg-elevated);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

.news-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 128, 0.3);
    box-shadow: var(--shadow-md);
}

.news-meta {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.news-date,
.news-category {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.news-date {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-dim);
}

.news-category {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    color: white;
}

.news-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
    line-height: 1.4;
}

.news-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: gap var(--transition-fast);
}

.news-link:hover {
    gap: var(--space-3);
}

/* =====================================
   CONTACT SECTION
   ===================================== */
.contact {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.contact-info > p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    text-align: left;
}

.contact-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    border-color: rgba(255, 0, 128, 0.3);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 24px;
    color: var(--color-pink);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.contact-item p,
.contact-item a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-pink);
}

/* =====================================
   SERVICE DETAIL PAGES
   ===================================== */
.service-hero {
    position: relative;
    padding: calc(var(--space-7) + 60px) 0 var(--space-7);
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
    overflow: hidden;
}

.service-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    margin: 0 auto var(--space-5);
    box-shadow: var(--shadow-glow-pink);
}

.service-hero h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.service-hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
}

.service-content {
    padding: var(--space-7) 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
}

.service-main h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.service-main h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.service-main p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

/* Feature Items */
.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-top: var(--space-5);
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: rgba(255, 0, 128, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.feature-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    margin-top: var(--space-5);
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: -32px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-pink) 0%, transparent 100%);
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow-pink);
}

.timeline-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.timeline-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: calc(60px + var(--space-4));
    align-self: start;
}

.sidebar-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.sidebar-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.sidebar-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: var(--text-sm);
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.sidebar-list i {
    color: var(--color-pink);
    font-size: 14px;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border: none;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Page Responsive */
@media (max-width: 968px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: calc(var(--space-6) + 60px) 0 var(--space-6);
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .service-hero h1 {
        font-size: var(--text-2xl);
    }

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

    .timeline-item::after {
        display: none;
    }

    .feature-item {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   FOOTER
   ===================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-brand p {
    color: #6b6b75;
    margin-top: var(--space-3);
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: #1a1a1a;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-pink);
}

/* Certifications Section */
.certifications {
    margin-top: var(--space-5);
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.certifications h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: #1a1a1a;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4);
    align-items: center;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.cert-badge {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1) grayscale(0);
    transition: all var(--transition-base);
    opacity: 0.7;
}

.cert-badge:hover {
    filter: brightness(1) grayscale(0);
    transform: scale(1.05);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom p {
    color: #6b6b75;
    font-size: var(--text-sm);
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */
@media (max-width: 768px) {
    /* Navbar adjustments for mobile */
    .nav-content {
        padding: var(--space-2) 0;
    }

    .logo-image {
        height: 35px;
    }

    /* Show mobile menu toggle on small screens */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hide desktop menu layout, show as mobile dropdown */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-2);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        max-height: 0;
        overflow-y: auto;
        transition: max-height 0.3s ease;
        visibility: hidden;
    }

    .nav-links.active {
        max-height: 100vh;
        visibility: visible;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: var(--text-base);
        display: block;
        padding: var(--space-3) var(--space-2);
        color: #4a4a4a;
        text-decoration: none;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--color-pink);
    }

    .nav-links a::after {
        display: none !important;
    }

    .btn-nav {
        padding: var(--space-3) var(--space-4);
        text-align: center;
        display: block;
        margin-top: var(--space-2);
    }

    .hero {
        padding: var(--space-6) 0 var(--space-5);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid,
    .news-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .cert-badge {
        height: 60px;
    }
}

/* =====================================
   ACCESSIBILITY
   ===================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-pink);
    outline-offset: 3px;
}

/* =====================================
   SMOOTH SCROLLING & ANIMATIONS
   ===================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* =====================================
   CUSTOM OLD FORGE CHAT WIDGET
   ===================================== */
#oldforge-chat {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 10000;
}

/* Chat Toggle Button */
.chat-toggle-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border: none;
    box-shadow: 0 8px 24px rgba(255, 0, 128, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 0, 128, 0.4), 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Chat Window */
.chat-window-custom {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: rgba(20, 20, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window-custom.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Chat Header */
.chat-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(255, 64, 129, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px 21px 0 0;
}

.chat-header-custom h3 {
    color: white;
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0;
}

.chat-header-custom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-xs);
    margin: 2px 0 0 0;
}

.chat-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.chat-close-btn:hover {
    color: var(--color-pink);
}

/* Chat Messages */
.chat-messages-custom {
    flex: 1;
    padding: var(--space-4);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.chat-messages-custom::-webkit-scrollbar {
    width: 8px;
}

.chat-messages-custom::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.chat-messages-custom::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border-radius: 4px;
}

.chat-message {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: var(--space-3) var(--space-4);
    border-radius: 13px;
    font-size: var(--text-sm);
    line-height: 1.5;
    word-wrap: break-word;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    color: white;
    border-radius: 13px 13px 0 13px;
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.2);
}

.bot-message .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px 13px 13px 0;
    backdrop-filter: blur(10px);
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--color-pink);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chat Input */
.chat-input-custom {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 21px 21px;
}

#chat-input-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    padding: var(--space-2) var(--space-3);
    color: var(--color-text);
    font-size: var(--text-sm);
    font-family: inherit;
    transition: all 0.3s ease;
}

#chat-input-field:focus {
    outline: none;
    border-color: var(--color-pink);
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.1);
}

#chat-input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
    border: none;
    border-radius: 13px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 0, 128, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chat-window-custom {
        width: calc(100vw - var(--space-5));
        height: 80vh;
        max-height: 600px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
