/* ============================================
   CrosslandIT — Professional IT Services
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --bg-dark: #0a0f1c;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0f172a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #334155;
    --gradient-start: #2563eb;
    --gradient-end: #06b6d4;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-nav {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-cross {
    color: var(--text-primary);
}

.logo-it {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% -10%, rgba(37, 99, 235, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 90% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 10% 60%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, 30px) rotate(5deg); }
    66% { transform: translate(15px, -20px) rotate(-3deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centered .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-actions {
    justify-content: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.stat-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-top: 28px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.stat:hover {
    border-color: var(--border-light);
    background: rgba(26, 35, 50, 0.8);
}

.stat-icon {
    color: var(--primary-light);
    font-size: 0.5rem;
    margin-top: 6px;
}

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

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

/* ---- Services ---- */
.services {
    padding: 120px 0;
    background: var(--bg-surface);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.04));
}

.service-card.featured:hover {
    border-color: rgba(37, 99, 235, 0.5);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

.service-card h3 {
    margin-bottom: 12px;
}

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

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ---- About ---- */
.about {
    padding: 120px 0;
}

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

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    color: var(--accent);
}

.highlight-icon svg {
    width: 18px;
    height: 18px;
}

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

.highlight span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Code block visual */
.about-visual {
    position: relative;
}

.code-block {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-block pre {
    padding: 24px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #e6edf3;
}

.code-comment { color: #6e7681; }
.code-keyword { color: #ff7b72; }
.code-func { color: #d2a8ff; }
.code-string { color: #a5d6ff; }
.code-builtin { color: #79c0ff; }

/* ---- Process ---- */
.process {
    padding: 120px 0;
    background: var(--bg-surface);
}

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

.step {
    position: relative;
    padding: 32px 24px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    margin-bottom: 12px;
}

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

/* ---- CTA ---- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.06));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ---- Contact ---- */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select {
    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='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.info-card.dark {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.04));
    border-color: rgba(37, 99, 235, 0.2);
}

.info-card h3 {
    margin-bottom: 20px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--primary-light);
}

/* ---- Footer ---- */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

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

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

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        flex-direction: column;
        background: var(--bg-card);
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
}

/* ---- Technology Partners ---- */
.partners {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--bg-card), rgba(17, 24, 39, 0.8));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.partner-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.02));
    opacity: 0;
    transition: opacity var(--transition);
}

.partner-badge:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 99, 235, 0.05);
}

.partner-badge:hover::before {
    opacity: 1;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

/* Brand colors */
.partner-badge[data-brand="cisco"] .partner-name { color: #049fd9; }
.partner-badge[data-brand="microsoft"] .partner-name { color: #00a4ef; }
.partner-badge[data-brand="fortinet"] .partner-name { color: #ee3124; }
.partner-badge[data-brand="meraki"] .partner-name { color: #78be20; }
.partner-badge[data-brand="hpe"] .partner-name { color: #01a982; }
.partner-badge[data-brand="lenovo"] .partner-name { color: #e2231a; }
.partner-badge[data-brand="symantec"] .partner-name { color: #fdb511; }
.partner-badge[data-brand="xerox"] .partner-name { color: #d71920; }

.partner-badge[data-brand="cisco"] { border-color: rgba(4, 159, 217, 0.2); }
.partner-badge[data-brand="microsoft"] { border-color: rgba(0, 164, 239, 0.2); }
.partner-badge[data-brand="fortinet"] { border-color: rgba(238, 49, 36, 0.2); }
.partner-badge[data-brand="meraki"] { border-color: rgba(120, 190, 32, 0.2); }
.partner-badge[data-brand="hpe"] { border-color: rgba(1, 169, 130, 0.2); }
.partner-badge[data-brand="lenovo"] { border-color: rgba(226, 35, 26, 0.2); }
.partner-badge[data-brand="symantec"] { border-color: rgba(253, 181, 17, 0.2); }
.partner-badge[data-brand="xerox"] { border-color: rgba(215, 25, 32, 0.2); }

.partner-badge[data-brand="cisco"]:hover { border-color: rgba(4, 159, 217, 0.5); box-shadow: 0 8px 30px rgba(4, 159, 217, 0.1); }
.partner-badge[data-brand="microsoft"]:hover { border-color: rgba(0, 164, 239, 0.5); box-shadow: 0 8px 30px rgba(0, 164, 239, 0.1); }
.partner-badge[data-brand="fortinet"]:hover { border-color: rgba(238, 49, 36, 0.5); box-shadow: 0 8px 30px rgba(238, 49, 36, 0.1); }
.partner-badge[data-brand="meraki"]:hover { border-color: rgba(120, 190, 32, 0.5); box-shadow: 0 8px 30px rgba(120, 190, 32, 0.1); }
.partner-badge[data-brand="hpe"]:hover { border-color: rgba(1, 169, 130, 0.5); box-shadow: 0 8px 30px rgba(1, 169, 130, 0.1); }
.partner-badge[data-brand="lenovo"]:hover { border-color: rgba(226, 35, 26, 0.5); box-shadow: 0 8px 30px rgba(226, 35, 26, 0.1); }
.partner-badge[data-brand="symantec"]:hover { border-color: rgba(253, 181, 17, 0.5); box-shadow: 0 8px 30px rgba(253, 181, 17, 0.1); }
.partner-badge[data-brand="xerox"]:hover { border-color: rgba(215, 25, 32, 0.5); box-shadow: 0 8px 30px rgba(215, 25, 32, 0.1); }

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Multi-Page Styles
   ============================================ */

/* ---- Active nav link ---- */
.nav-links a.active {
    color: var(--primary-light);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-top: 16px;
}

.page-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-top: 16px;
    line-height: 1.7;
}

/* ---- Home: Services Overview Grid ---- */
.services-overview {
    padding: 120px 0;
    background: var(--bg-surface);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

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

.overview-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}

.overview-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.06);
}

.overview-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.04));
}

.overview-card.featured:hover {
    border-color: rgba(37, 99, 235, 0.5);
}

.overview-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    color: var(--primary-light);
}

.overview-icon svg {
    width: 22px;
    height: 22px;
}

.overview-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.overview-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* ---- Home: Process Preview ---- */
.process-preview {
    padding: 120px 0;
}

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

.process-preview-content h2 {
    margin-bottom: 20px;
}

.process-preview-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.process-preview-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mini-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mini-step:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.mini-step-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    line-height: 1;
    min-width: 32px;
}

.mini-step strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

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

/* ---- Services Detail Page ---- */
.services-detail {
    padding: 80px 0 120px;
}

.service-block {
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.service-block-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    color: var(--primary-light);
}

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

.service-block-header h2 {
    margin-bottom: 8px;
}

.service-block-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 640px;
}

.service-block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.service-detail-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.service-detail-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

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

/* ---- Development Page ---- */
.dev-approach {
    padding: 100px 0;
}

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

.approach-content h2 {
    margin-bottom: 20px;
}

.approach-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.what-we-build {
    padding: 120px 0;
    background: var(--bg-surface);
}

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

.build-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--transition);
}

.build-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.build-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 12px;
    line-height: 1;
}

.build-card h3 {
    margin-bottom: 12px;
}

.build-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.build-tags span {
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-light);
}

/* Dev Process Timeline */
.dev-process {
    padding: 120px 0;
}

.dev-steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.dev-steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.dev-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.dev-step:last-child {
    margin-bottom: 0;
}

.dev-step-marker {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
}

.dev-step-content h3 {
    margin-bottom: 8px;
}

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

/* ---- About Page ---- */
.about-story {
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.story-content h2 {
    margin-bottom: 24px;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.story-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.differentiators {
    padding: 120px 0;
    background: var(--bg-surface);
}

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

.diff-card {
    text-align: center;
    padding: 40px 32px;
}

.diff-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--primary-light);
}

.diff-icon svg {
    width: 24px;
    height: 24px;
}

.diff-card h3 {
    margin-bottom: 12px;
}

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

/* ---- Contact Page ---- */
.contact-section {
    padding: 80px 0 120px;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.expect-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expect-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.expect-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
}

.expect-item p {
    font-size: 0.85rem;
}

/* ---- Blog Page ---- */
.blog-section {
    padding: 60px 0 120px;
}

.blog-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.blog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-tag {
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--primary-light);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.blog-meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- Admin Page ---- */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
}

.login-card .logo {
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 36px;
}

.login-card .form-group {
    margin-bottom: 20px;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #ef4444;
    display: none;
}

/* Admin Dashboard */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.admin-sidebar .logo {
    margin-bottom: 32px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-primary);
}

.admin-nav a svg {
    width: 18px;
    height: 18px;
}

.admin-nav .logout-btn {
    margin-top: auto;
    color: var(--text-muted);
}

.admin-main {
    flex: 1;
    padding: 32px 40px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.75rem;
}

/* Admin Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-change {
    font-size: 0.8rem;
    color: #10b981;
    margin-top: 4px;
}

/* Admin Blog Table */
.admin-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.published {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge.draft {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-actions button {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition);
}

.table-actions button:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.table-actions button.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Blog Editor */
.editor-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.editor-form .form-group input,
.editor-form .form-group select,
.editor-form .form-group textarea {
    background: var(--bg-dark);
}

.editor-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.editor-toolbar button {
    padding: 6px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}

.editor-toolbar button:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.editor-content {
    min-height: 400px;
    padding: 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.7;
    outline: none;
}

/* ---- Additional Responsive ---- */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-preview-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .admin-sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .service-block-header {
        flex-direction: column;
    }

    .service-block-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        padding: 12px 16px;
        overflow-x: auto;
    }

    .admin-nav {
        flex-direction: row;
    }

    .admin-main {
        padding: 24px 16px;
    }

    .page-hero {
        padding: 120px 0 60px;
    }
}
