/* --- Variables & Reset (LinkedIn Inspired) --- */
:root {
  /* LinkedIn Blue Palette */
  --primary-blue: #0a66c2;
  --primary-dark: #004182;
  --bg-color: #f3f2ef;
  --white: #ffffff;
  --text-main: #191919;
  --text-sub: #666666;
  --border-color: #e0e0e0;
  
  /* Layout vars */
  --container-width: 1140px;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
  background: var(--white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

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

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.btn-secondary {
  border: 1px solid var(--primary-blue);
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--primary-blue) !important;
}

.btn-secondary:hover {
  background-color: rgba(10, 102, 194, 0.1);
}

/* --- Hero Section --- */
.hero {
  background: var(--white);
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Hero Content (Left) */
.hero-content {
  flex: 1;
  z-index: 2;
}

.badge {
  background: #eef3f8;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Login Wrapper */
.login-wrapper {
  background: #f8fafd;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #dce6f1;
  display: inline-block;
}

.login-label {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.terms {
  font-size: 0.75rem;
  color: #888;
  margin-top: 12px;
}

/* Hero Visual (Right) - Abstract CSS Resume */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

/* The Abstract Card */
.abstract-card {
  width: 380px;
  height: 480px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(10, 102, 194, 0.15);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.abstract-card:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Skeleton Loaders (Simulating Resume Text) */
.skeleton-avatar {
  width: 60px;
  height: 60px;
  background: #e0e0e0;
  border-radius: 50%;
  margin-bottom: 20px;
}
.skeleton-lines .line {
  height: 12px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
}
.line.short { width: 60%; }
.line.medium { width: 80%; }

.skeleton-block {
  height: 80px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}
.skeleton-block.short { height: 40px; }

/* Background Blur */
.blur-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10,102,194,0.15) 0%, rgba(255,255,255,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
}

.badge-1 { top: 40px; right: -30px; }
.badge-2 { bottom: 60px; left: -40px; }

/* --- Features Section --- */
.features-section {
  padding: 80px 0;
  background: var(--bg-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.demo-section .section-header h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border-color: var(--primary-blue);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #eef3f8;
  border-radius: 10px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* --- Footer --- */
footer {
  background: var(--white);
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero h1 { font-size: 2.5rem; }
  
  .abstract-card {
    width: 320px;
    height: 400px;
  }
  
  .badge-1, .badge-2 {
    display: none; /* Hide floating elements on mobile for cleanliness */
  }
}





/* --- DEMO VIDEO SECTION STYLES --- */
.demo-section {
    padding: 80px 0;
    background: #0f172a; /* Dark background to pop the video */
    color: white;
}

.demo-section .section-header p {
    color: #94a3b8;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- AUTH NAVBAR STYLES --- */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-welcome-text {
    font-weight: 500;
    color: #334155;
    font-size: 0.95rem;
}

/* A subtle badge for the user's name */
.user-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #bfdbfe;
}

.btn-signout {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.2s;
}

.btn-signout:hover {
    background: #f1f5f9;
    color: #dc2626;
    border-color: #cbd5e1;
}

.btn-primary-large {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-primary-large:hover {
    background: #1d4ed8;
}

#nav-auth-section {
    margin-left: 15px;
}