/* =========================================================
   Orvian Tech - Technology Service Provider
   Hardware, Software, Technical Support & Enterprise IT Services
   Theme: Architectural Warm Off-White, Obsidian Slate & Amber Copper Accent
   Features: Split Hero, Animated Service Themes, Lite Motion Canvas (No Login)
========================================================= */

:root {
    --bg-main: #FAF9F6;
    --bg-card: #FFFFFF;
    --bg-subtle: #F3F3EE;
    --bg-dark: #18181B;
    --primary-amber: #D97706;
    --primary-amber-dark: #B45309;
    --primary-copper: #EA580C;
    --accent-emerald: #059669;
    --accent-indigo: #4338CA;
    --text-primary: #18181B;
    --text-body: #3F3F46;
    --text-muted: #71717A;
    --border-color: #E4E4E7;
    --border-hover: #D4D4D8;
    --gradient-amber: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
    --gradient-obsidian: linear-gradient(135deg, #18181B 0%, #27272A 100%);
    --shadow-sm: 0 2px 4px rgba(24, 24, 27, 0.04);
    --shadow-md: 0 12px 30px -8px rgba(24, 24, 27, 0.08);
    --shadow-lg: 0 24px 48px -12px rgba(217, 119, 6, 0.12), 0 12px 20px -8px rgba(24, 24, 27, 0.06);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Custom Amber Ring Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-amber);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(217, 119, 6, 0.45);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Floating Circuit Grid Background */
.bg-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

/* Header & Navbar */
.navbar {
    background: rgba(250, 249, 246, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon-box {
    width: 44px;
    height: 44px;
    background: var(--bg-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(24, 24, 27, 0.15);
}

.brand-logo:hover .logo-icon-box {
    transform: scale(1.06) rotate(5deg);
    background: var(--primary-amber);
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-text span {
    color: var(--primary-amber);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-amber);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-amber);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

/* Buttons */
.btn {
    padding: 13px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-amber);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.42);
}

.btn-dark {
    background: var(--bg-dark);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background: #27272A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary-amber);
    color: var(--primary-amber);
    transform: translateY(-2px);
}

/* Split-Screen Hero Section */
.hero-split {
    padding: 80px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-amber);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.pulse-dot-amber {
    width: 8px;
    height: 8px;
    background-color: var(--primary-amber);
    border-radius: 50%;
    animation: amberPulse 1.8s infinite;
}

@keyframes amberPulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.8); }
    70% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.hero-left h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 22px;
    letter-spacing: -1.2px;
}

.hero-left h1 span {
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 580px;
}

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

/* Hero Right: Diagnostic Interactive Terminal / Hardware Visualizer */
.hero-interactive-card {
    background: var(--bg-dark);
    border: 1px solid #27272A;
    border-radius: var(--radius-lg);
    padding: 28px;
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #27272A;
    margin-bottom: 20px;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #A1A1AA;
}

.status-badge {
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.interactive-screen {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Animated Service Themes Section */
.section {
    padding: 90px 0;
}

.section-bg-subtle {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.6px;
}

.section-header h2 span {
    color: var(--primary-amber);
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
}

/* Interactive Theme Tabs */
.service-theme-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.theme-tab-btn {
    padding: 12px 24px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.theme-tab-btn:hover {
    border-color: var(--primary-amber);
    color: var(--primary-amber);
}

.theme-tab-btn.active {
    background: var(--bg-dark);
    color: #FFFFFF;
    border-color: var(--bg-dark);
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.2);
}

/* Theme Visual Container */
.theme-display-grid {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.theme-text-box h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.theme-text-box p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 24px;
}

.theme-bullet-list {
    list-style: none;
    margin-bottom: 28px;
}

.theme-bullet-list li {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-bullet-list li::before {
    content: "⚡";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--primary-amber);
    border-radius: 6px;
    font-size: 12px;
}

.theme-graphics-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Keyframe Animations for Themes */
/* Theme 1: Hardware Circuit Trace */
.hardware-circuit-svg {
    width: 100%;
    height: 220px;
}

.pulse-line {
    stroke-dasharray: 8 8;
    animation: dashOffset 4s linear infinite;
}

@keyframes dashOffset {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

/* Theme 2: Software Pipeline Build */
.code-block-anim {
    animation: codeFade 2s ease-in-out infinite alternate;
}

@keyframes codeFade {
    0% { opacity: 0.3; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Theme 3: System Support Gauge */
.gauge-pointer {
    transform-origin: 100px 100px;
    animation: gaugeSweep 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes gaugeSweep {
    0% { transform: rotate(-45deg); }
    100% { transform: rotate(50deg); }
}

/* Feature Cards Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.orvian-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.orvian-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-amber);
    box-shadow: var(--shadow-lg);
}

.card-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-amber);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.orvian-card:hover .card-icon-box {
    background: var(--primary-amber);
    color: #FFFFFF;
    transform: scale(1.08);
}

.orvian-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.orvian-card p {
    font-size: 15px;
    color: var(--text-body);
}

/* Metrics Banner Dark */
.metrics-obsidian {
    background: var(--bg-dark);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
}

.metric-val {
    font-size: 44px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.metric-val span {
    color: var(--primary-amber);
}

.metric-lbl {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A1A1AA;
}

/* Form Controls */
.contact-card-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-amber);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

/* Footer */
.footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 65px 0 32px;
    margin-top: auto;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    max-width: 330px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: var(--text-body);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-amber);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive queries */
@media (max-width: 992px) {
    .hero-grid, .theme-display-grid {
        grid-template-columns: 1fr;
    }
    .grid-4, .grid-3, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-left h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-left h1 {
        font-size: 32px;
    }
    .cursor-dot, .cursor-ring {
        display: none;
    }
}
