/* =======================================
   Variables & Reset
======================================= */
:root {
    --bg-dark: #0f172a;
    --bg-surface: #1e293b;
    --bg-darker: #020617;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f97316; /* Industrial Orange */
    --accent-glow: rgba(249, 115, 22, 0.3);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent {
    color: var(--accent);
}

/* =======================================
   Navbar
======================================= */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    height: 80px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem !important;
    letter-spacing: 1px;
}

.nav-cta:hover {
    background: #ea580c;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* =======================================
   Hero Section
======================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background-image: url('https://images.unsplash.com/photo-1541888081696-1c166d1f5e27?q=80&w=2675&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.hero-title {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* =======================================
   Services Section (Construction)
======================================= */
.services {
    padding: 8rem 0;
    background-color: var(--bg-surface);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: #ea580c;
}

/* =======================================
   Chat Demo Section
======================================= */
.demo-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
    position: relative;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.chat-header {
    background: #1e293b;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-info h4 {
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 1px;
}

.status {
    font-size: 0.8rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.pulse {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-body {
    height: 400px;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(2, 6, 23, 0.5);
}

.message {
    max-width: 85%;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out forwards;
}

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

.message.ai {
    background: #1e293b;
    align-self: flex-start;
    border-left: 4px solid var(--accent);
}

.message.user {
    background: var(--accent);
    color: #fff;
    align-self: flex-end;
}

.chat-input-area {
    padding: 1.5rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
}

#chat-input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

#chat-input:focus {
    outline: none;
    border-color: var(--accent);
}

#send-btn {
    font-size: 1.4rem;
    padding: 0 2rem;
}

/* =======================================
   Footer
======================================= */
footer {
    background: #020617;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}
