/* ============================================
   TechSoft Solutions - Custom Styles
   Dark Technology Theme
   ============================================ */

:root {
    --primary: #0d6efd;
    --primary-glow: rgba(13, 110, 253, 0.3);
    --secondary: #6c757d;
    --success: #198754;
    --dark: #0a0e1a;
    --dark2: #0f1525;
    --dark3: #141c2f;
    --card-bg: #111827;
    --card-border: rgba(255, 255, 255, 0.06);
    --text-muted: #8892a4;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    --gradient-glow: linear-gradient(135deg, rgba(13,110,253,0.15) 0%, rgba(102,16,242,0.15) 100%);
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
}

/* Base */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
    font-family: var(--font-sans);
    background-color: var(--dark);
    color: #e2e8f0;
    line-height: 1.7;
    min-height: 100vh;
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 12px 0;
}

#mainNav.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.brand-icon {
    width: 36px; height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: white;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(13, 110, 253, 0.15);
}

.dropdown-menu {
    background: #0f1525 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(13, 110, 253, 0.15) !important;
    color: white !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    background: var(--dark2);
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 110, 253, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-bg-glow {
    position: absolute;
    top: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13,110,253,0.12) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-bg-glow2 {
    position: absolute;
    bottom: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(102,16,242,0.1) 0%, transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7db3ff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex; gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Code Window */
.code-window {
    background: #0d1117;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.code-window-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.code-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    color: #abb2bf;
}

.code-comment { color: #5c6370; font-style: italic; }
.code-keyword { color: #c678dd; }
.code-func { color: #61afef; }
.code-string { color: #98c379; }
.code-num { color: #d19a66; }
.code-var { color: #e06c75; }

/* Typing cursor */
.cursor {
    display: inline-block;
    width: 2px; height: 1em;
    background: var(--primary);
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================================
   SECTIONS
   ============================================ */
.section-padding { padding: 100px 0; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
}

/* ============================================
   CARDS
   ============================================ */
.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,110,253,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover {
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(13,110,253,0.08);
}

.tech-card:hover::before { opacity: 1; }

.card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.card-icon.primary   { background: rgba(13,110,253,0.15); color: #6ea8fe; }
.card-icon.success   { background: rgba(25,135,84,0.15); color: #75b798; }
.card-icon.warning   { background: rgba(255,193,7,0.15); color: #ffda6a; }
.card-icon.danger    { background: rgba(220,53,69,0.15); color: #ea868f; }
.card-icon.info      { background: rgba(13,202,240,0.15); color: #6edff6; }
.card-icon.purple    { background: rgba(102,16,242,0.15); color: #c29ffa; }

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    cursor: default;
}

.service-card:hover {
    border-color: rgba(13, 110, 253, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.service-icon {
    width: 70px; height: 70px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}

/* Blog Cards */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.blog-card-img {
    width: 100%; height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-img-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, var(--dark3) 0%, #1a2240 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    color: rgba(13, 110, 253, 0.3);
}

.blog-card-body { padding: 20px; }

.blog-category-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(13,110,253,0.15);
    color: #6ea8fe;
    display: inline-block;
    margin-bottom: 10px;
}

/* Software Cards */
.software-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.software-card:hover {
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.software-card-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--dark3), var(--card-bg));
    border-bottom: 1px solid var(--card-border);
}

.software-img {
    width: 64px; height: 64px;
    border-radius: 14px;
    object-fit: cover;
}

.software-img-placeholder {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13,110,253,0.2), rgba(102,16,242,0.2));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.license-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
}

.license-free    { background: rgba(25,135,84,0.2); color: #75b798; border: 1px solid rgba(25,135,84,0.3); }
.license-paid    { background: rgba(255,193,7,0.2); color: #ffda6a; border: 1px solid rgba(255,193,7,0.3); }
.license-trial   { background: rgba(13,202,240,0.2); color: #6edff6; border: 1px solid rgba(13,202,240,0.3); }

/* ============================================
   TECH STACK / FEATURES
   ============================================ */
.tech-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(13,110,253,0.08);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #7db3ff;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-pill:hover {
    background: rgba(13,110,253,0.15);
    border-color: rgba(13,110,253,0.4);
    color: white;
    text-decoration: none;
}

/* ============================================
   FORMS
   ============================================ */
.form-control, .form-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
}

.form-control::placeholder { color: #4a5568; }

/* Select option dark background fix */
.form-select option,
select option {
    background-color: #1a2240;
    color: #e2e8f0;
}

.form-select option:hover,
select option:hover,
.form-select option:checked,
select option:checked {
    background-color: #0d6efd;
    color: #ffffff;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(13,110,253,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,110,253,0.45);
}

.btn-outline-primary {
    border-color: rgba(13,110,253,0.5);
    color: #6ea8fe;
}

.btn-outline-primary:hover {
    background: rgba(13,110,253,0.15);
    border-color: var(--primary);
    color: white;
}

.btn-lg { padding: 13px 30px; font-size: 0.95rem; }

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg) translateX(-200%);
    transition: transform 0.5s ease;
}

.btn-glow:hover::after { transform: rotate(45deg) translateX(100%); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-exp-badge {
    position: absolute;
    bottom: 20px; right: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(13,110,253,0.4);
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 8px 0;
    display: flex; align-items: center; gap: 10px;
    color: #cbd5e0;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '';
    width: 20px; height: 20px;
    background: rgba(25,135,84,0.2);
    border: 1px solid rgba(25,135,84,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2375b798'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact { background: var(--dark2); }

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    display: flex; align-items: center; gap: 16px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: rgba(13,110,253,0.3);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(13,110,253,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: #6ea8fe;
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-dark {
    background: var(--dark2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #7db3ff; }

.social-icon {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: rgba(13,110,253,0.15);
    border-color: rgba(13,110,253,0.3);
    color: #6ea8fe;
    transform: translateY(-2px);
}

.letter-spacing { letter-spacing: 0.08em; }

/* ============================================
   LICENSE KEY DISPLAY
   ============================================ */
.license-key {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: #98c379;
    background: #0d1117;
    border: 1px solid rgba(152, 195, 121, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    letter-spacing: 0.1em;
    user-select: all;
    cursor: copy;
}

/* ============================================
   TABLES
   ============================================ */
.table-dark {
    --bs-table-bg: var(--card-bg);
    --bs-table-striped-bg: rgba(255,255,255,0.02);
    --bs-table-hover-bg: rgba(13,110,253,0.05);
    --bs-table-border-color: rgba(255,255,255,0.06);
    font-size: 0.875rem;
}

.table-dark th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    padding: 14px 16px;
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-hero {
    background: var(--dark2);
    padding: 100px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 110, 253, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    border-radius: 8px !important;
    margin: 0 3px;
    padding: 8px 14px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

/* ============================================
   ALERTS / BADGES
   ============================================ */
.alert { border-radius: 12px; font-size: 0.9rem; }
.badge { font-weight: 600; letter-spacing: 0.03em; }

/* ============================================
   SCROLL TOP
   ============================================ */
#scrollTop {
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* ============================================
   UTILITIES
   ============================================ */
.bg-dark2 { background-color: var(--dark2) !important; }
.bg-card  { background-color: var(--card-bg) !important; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,110,253,0.5), transparent);
    border: none;
    margin: 4rem 0;
}

/* Animated counter */
.counter { font-variant-numeric: tabular-nums; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-stats { gap: 1.5rem; }
    .hero-stat-value { font-size: 1.4rem; }
    .form-card { padding: 24px; }
    .section-padding { padding: 70px 0; }
    .hero-section { padding-top: 70px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-up   { animation: fadeInUp   0.6s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.6s ease forwards; }

/* Intersection observer classes */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* JS yüklenemezse elementleri göster */
.no-js .reveal { opacity: 1; transform: none; }

/* Sayfa tamamen yüklendikten 1sn sonra hâlâ gizliyse göster */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   BLOG DETAIL
   ============================================ */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #d1d5db;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content p { margin-bottom: 1.25rem; }

.blog-content ul, .blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blog-content li { margin-bottom: 0.4rem; }

.blog-content code {
    background: #161b22;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: #e06c75;
}

.blog-content pre {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #abb2bf;
    font-size: 0.875rem;
}

.blog-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   IOT SECTION
   ============================================ */
.iot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.iot-node {
    background: rgba(13,110,253,0.08);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.iot-node:hover {
    background: rgba(13,110,253,0.15);
    border-color: rgba(13,110,253,0.4);
}

.iot-node-icon { font-size: 1.5rem; margin-bottom: 6px; display: block; }
.iot-node-label { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-header {
    background: linear-gradient(135deg, var(--dark2), var(--dark3));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
}

.avatar-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(13,110,253,0.4);
}

.avatar-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    border: 3px solid rgba(13,110,253,0.4);
    flex-shrink: 0;
}
