/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Light Theme (Default) */
    --bg-color: #f3f4f6;
    --text-color: #111827;
    --text-secondary: #6b7280;
    --accent-color: #2563eb;
    /* Corporate Blue */
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --header-bg: rgba(255, 255, 255, 0.95);
    --success-color: #10b981;
    --chat-bg-client: #f3f4f6;
    --chat-bg-agent: #eff6ff;
    --chat-text-agent: #1e40af;

    --font-main: 'Inter', sans-serif;
    --hero-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body.dark-theme {
    /* Dark Theme Overrides */
    --bg-color: #111827;
    --text-color: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-color: #3b82f6;
    --accent-dark: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --card-bg: #1f2937;
    --card-border: #374151;
    --header-bg: rgba(17, 24, 39, 0.95);
    --chat-bg-client: #374151;
    --chat-bg-agent: #1e3a8a;
    --chat-text-agent: #dbeafe;

    --hero-gradient: linear-gradient(135deg, #111827 0%, #1e40af 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 6px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

.badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--accent-color);
}

/* Header */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--card-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 40%);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards (Advantages) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* RECRUITMENT AGENT CARDS */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.agent-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.agent-profile-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
}

.agent-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--card-border);
}

.agent-meta {
    flex: 1;
}

.agent-meta h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.agent-meta .role {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
}

.status-dot::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    margin-right: 6px;
}

.agent-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agent-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.chat-preview {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    flex: 1;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    max-width: 90%;
}

.chat-bubble.client {
    background: var(--chat-bg-client);
    color: var(--text-secondary);
    border-top-left-radius: 2px;
}

.chat-bubble.agent {
    background: var(--chat-bg-agent);
    color: var(--chat-text-agent);
    margin-left: auto;
    border-top-right-radius: 2px;
    font-weight: 500;
}

.btn-hire {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-hire:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Training Section (kept simple) */
.training-section {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
}

.training-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.training-visual {
    flex: 1;
    text-align: center;
}

.training-text {
    flex: 1;
}

.voice-wave {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 20px 0;
    height: 30px;
    align-items: center;
}

.bar {
    width: 5px;
    background: var(--accent-color);
    border-radius: 5px;
    animation: wave 1s infinite ease-in-out;
}

.bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 60%;
}

.bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 80%;
}

.bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 40%;
}

.bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 70%;
}

@keyframes wave {

    0%,
    100% {
        height: 30%;
    }

    50% {
        height: 100%;
    }
}

.tag {
    background: var(--bg-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background: var(--bg-color);
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .training-container {
        flex-direction: column;
    }
}