/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-accent);
    border: 1px solid var(--border);
    border-radius: 50px;
    width: 60px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle i {
    font-size: 14px;
    z-index: 1;
}

.theme-toggle .fa-sun {
    color: #f59e0b;
}

.theme-toggle .fa-moon {
    color: #475569;
}

[data-theme="light"] .theme-toggle .fa-moon {
    color: #e2e8f0;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text-accent);
    left: 4px;
    transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle::before {
    transform: translateX(30px);
    background: #2563eb;
}

/* Stats Component */
.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-accent);
    font-family: 'Source Sans 3', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-secondary);
}

/* Hero Cards */
.hero-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow);
}

.hero-card:hover {
    transform: translateY(-5px);
    background: var(--bg-secondary);
    box-shadow: 0 12px 35px var(--shadow);
    border-color: var(--text-accent);
}

.card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

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

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

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Source Sans 3', sans-serif;
}

.code-snippet {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.data-point {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-secondary);
}

.data-point:last-child {
    margin-bottom: 0;
}

.data-point i {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--text-accent);
    width: 20px;
}

/* CTA Buttons */
.cta-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.cta-btn.secondary {
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.cta-btn.secondary:hover {
    background: var(--text-accent);
    color: white;
    border-color: var(--text-accent);
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Smooth transitions for all interactive elements */
.hero-card, .highlight-card, .skill-tag, .profile-image {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}