/* ==========================================================================
   chowmun.de - Global Stylesheet (Dark Enterprise Theme)
   Author: Md Al Mamun
   ========================================================================== */

   :root {
    --bg-dark: #0b0f19;
    --card-dark: #151d30;
    --card-border: #22304d;
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --accent: #38bdf8;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --linkedin: #0a66c2;
    --success: #34d399;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Layout Container */
  .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* Top Utility Bar */
  .top-bar {
    background: #060911;
    border-bottom: 1px solid #1a2337;
    font-size: 13px;
    padding: 10px 0;
  }
  
  .top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 500;
  }
  
  .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
  }
  
  .top-links {
    display: flex;
    gap: 20px;
  }
  
  .top-links a {
    color: var(--text-muted);
  }
  
  .top-links a:hover {
    color: #ffffff;
    text-decoration: none;
  }
  
  /* Navigation Header */
  header {
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
  }
  
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand-logo {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  
  .accent-text {
    color: var(--accent);
  }
  
  .logo-badge {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
  }
  
  .nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  
  .nav-menu a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #ffffff;
  }
  
  .nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  
  /* Buttons */
  .btn-cta, .btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
  }
  
  .btn-cta:hover, .btn-primary:hover {
    filter: brightness(1.15);
    text-decoration: none;
    transform: translateY(-1px);
  }
  
  .btn-linkedin {
    background: var(--linkedin);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
    transition: all 0.2s ease;
  }
  
  .btn-linkedin:hover {
    background: #084e96;
    transform: translateY(-2px);
    text-decoration: none;
  }
  
  .btn-secondary {
    background: var(--card-dark);
    color: #ffffff !important;
    border: 1px solid var(--card-border);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .btn-secondary:hover {
    border-color: var(--accent);
    background: #1c2742;
    text-decoration: none;
  }
  
  .btn-block {
    width: 100%;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 70px 0 90px 0;
    position: relative;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
  }
  
  .hero-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
  }
  
  .gradient-text {
    background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
  }
  
  .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  /* Profile Card */
  .profile-card {
    background: var(--card-dark);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
  }
  
  .profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
  }
  
  .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }
  
  .profile-info h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 800;
  }
  
  .profile-info .role {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
  }
  
  .profile-info .company {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
  }
  
  .card-meta-list {
    padding: 20px 0;
    list-style: none;
  }
  
  .card-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(34, 48, 77, 0.6);
    font-size: 13px;
  }
  
  .card-meta-item:last-child {
    border-bottom: none;
  }
  
  .meta-label {
    color: var(--text-muted);
  }
  
  .meta-val {
    color: #ffffff;
    font-weight: 600;
  }
  
  .status-online {
    color: var(--success);
  }
  
  /* Sections */
  .section-dark {
    padding: 70px 0;
    background: #0e1422;
    border-top: 1px solid #1a2337;
    border-bottom: 1px solid #1a2337;
  }
  
  .section-container {
    padding: 80px 0;
  }
  
  .section-title-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
  }
  
  .section-tag {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .section-title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 8px;
  }
  
  .section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 10px;
  }
  
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  
  .service-card {
    background: var(--card-dark);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
  }
  
  .service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
  }
  
  .service-icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: inline-block;
  }
  
  .service-card h4 {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .service-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
  }
  
  /* Homelab Node Table */
  .homelab-box {
    background: var(--card-dark);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 30px;
  }
  
  .homelab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 18px;
  }
  
  .homelab-header h3 {
    font-size: 20px;
    color: #fff;
    font-weight: 800;
  }
  
  .homelab-header p {
    font-size: 13px;
    color: var(--text-muted);
  }
  
  .status-pill {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
  }
  
  .node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
  }
  
  .node-item {
    background: #0d1424;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .node-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .node-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
  }
  
  .edge-indicator {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
  }
  
  .node-name {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
  }
  
  .node-role {
    font-size: 11px;
    color: var(--text-muted);
  }
  
  .node-ip {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent);
  }
  
  /* Footer */
  footer {
    background: #060911;
    border-top: 1px solid #1a2337;
    padding: 60px 0 30px 0;
    font-size: 13px;
    color: var(--text-muted);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a2337;
    margin-bottom: 30px;
  }
  
  .footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
  }
  
  .footer-brand span {
    color: var(--accent);
  }
  
  .footer-col h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  
  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  /* Responsive */
  @media (max-width: 960px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }
    .nav-menu {
      display: none;
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .hero-title {
      font-size: 36px;
    }
  }