/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Color Palette */
    --bg-color: #0f172a;
    --bg-surface: rgba(15, 23, 42, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --color-primary: #6366f1; /* Electric Indigo */
    --color-primary-glow: rgba(99, 102, 241, 0.3);
    --color-secondary: #10b981; /* Emerald Green */
    --color-secondary-glow: rgba(16, 185, 129, 0.3);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --container-padding: 2rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    background-image: var(--gradient-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

section {
    padding: 6rem var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 75% 25%, var(--color-primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, var(--color-secondary-glow) 0%, transparent 40%);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: pulseGlow 20s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* ==========================================================================
   Glassmorphism Utility
   ========================================================================== */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

.glass {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

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

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8rem;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #1e293b;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle span.typed-text {
    color: var(--color-secondary);
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-block;
}

.primary-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.primary-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(4px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
}

.hero-socials a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.hero-socials a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-circle { display: none; }
.glow-circle-2 { display: none; }

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--color-secondary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { background-color: var(--color-secondary); }
    50%, 100% { background-color: transparent; }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.underline {
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.education-box {
    margin-top: 3rem;
    text-align: left;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
}

.education-box h3 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.education-box h3 i {
    color: var(--color-primary);
}

.edu-item {
    border-left: 2px solid var(--color-primary);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.edu-header h4 {
    font-size: 1.1rem;
    color: var(--text-main);
}

.edu-header .date {
    font-size: 0.875rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.institution {
    color: var(--text-muted);
}

.grade {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-glass);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-color);
    border: 2px solid var(--color-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    padding: 1.5rem;
    position: relative;
}

.time-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.time-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.time-header .date {
    font-size: 0.875rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.company {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.exp-desc {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.exp-list {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.exp-list li {
    list-style-type: disc;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 9999px;
    color: var(--color-secondary);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transform-style: preserve-3d;
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
    border-radius: 4px;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    padding: 2rem;
}

.skill-category h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category h3 i {
    color: var(--color-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.skill-tag:hover {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border-color: transparent;
    transform: translateY(-2px);
    font-weight: 500;
}

.certifications-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
}

.certifications-container h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.certifications-container h3 i {
    color: var(--color-secondary);
}

.cert-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.cert-list li i {
    color: var(--color-primary);
}

.cert-list li strong {
    color: var(--text-main);
}

.cert-link {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cert-link:hover {
    color: var(--color-primary);
}

.extra-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    transition: all 0.5s ease;
}

.extra-certs-grid.hidden {
    display: none;
}

.cert-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cert-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cert-card a {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-secondary);
}

.cert-card a:hover {
    color: var(--color-primary);
}


/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--color-secondary);
    font-size: 1.25rem;
    width: 20px;
}

.contact-item a {
    color: var(--text-muted);
}

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

.contact-socials {
    display: flex;
    gap: 1.5rem;
}

.contact-socials a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.contact-socials a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   AI Terminal & Playground
   ========================================================================== */
.terminal-window {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    margin-left: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terminal-body {
    background: rgba(11, 15, 25, 0.8);
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--text-main);
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

#ai-code {
    color: var(--color-secondary);
    white-space: pre-wrap;
}

.playground-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.playground-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.playground-controls h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.glass-select, .glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-main);
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-normal);
}

.glass-select:focus, .glass-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.playground-output {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.output-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.9rem;
}

.output-body {
    background: rgba(11, 15, 25, 0.8);
    padding: 1.5rem;
    flex-grow: 1;
    font-family: 'Courier New', Courier, monospace;
    color: var(--text-main);
}

#model-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.status-idle { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); }
.status-running { background: rgba(245, 158, 11, 0.1); color: #f59e0b; animation: pulse 1s infinite alternate; }
.status-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ==========================================================================
   AI Chatbot Widget
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--gradient-primary);
    color: var(--text-inverse);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    position: relative;
    transition: var(--transition-normal);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6);
}

.notification-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    animation: notifyPulse 2s infinite;
}

@keyframes notifyPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    border: 1px solid var(--color-primary);
}

.chatbot-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-main);
}

.status-online {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-online::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    color: var(--color-primary);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(11, 15, 25, 0.6);
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    border: 1px solid var(--border-glass);
}

.user-message {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    font-weight: 500;
}

.chatbot-input-area {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-glass);
}

.chatbot-input-area input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-main);
    font-family: var(--font-primary);
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input-area input:focus {
    border-color: var(--color-primary);
}

.chatbot-input-area button {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-input-area button:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-glass);
    background: rgba(11, 15, 25, 0.9);
    position: relative;
    z-index: 1;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    #hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-socials {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Will be toggled by JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-glass);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
    
    .timeline-item::after {
        left: 22px;
    }
    
    .timeline-item.right::after {
        left: 22px;
    }
}
