:root {
  --primary: #FACC15; /* Construction/Yellow */
  --primary-hover: #EAB308;
  --secondary: #3B82F6; /* Tech/Blue */
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
}

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

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

/* Typography Details */
h1, h2, h3 { line-height: 1.2; }
.highlight { color: var(--primary); }

/* Buttons */
button {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: #000;
  padding: 0.75rem 1.5rem;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}
.btn-secondary {
  background: rgba(59, 130, 246, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 0.75rem 1.5rem;
}
.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}
.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.btn-login {
  background: transparent;
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
}
.btn-login:hover { color: var(--primary); }

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.logo-icon { font-size: 1.8rem; margin-right: 5px; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 1rem; }

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85vh;
  padding: 0 5%;
  position: relative;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 50%);
}
.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.2);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }

/* Stats */
.stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}
.stat-item h3 { font-size: 2rem; color: var(--text-main); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Hero Visual & Glassmorphism */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  width: 400px;
  overflow: hidden;
}
.mockup-card {
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}
.floating {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
  100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
}

.card-header {
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff5f56;
}
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.card-body { padding: 1.5rem; }
.ai-match-indicator {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.pulse-ring {
  width: 20px; height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(59,130,246, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59,130,246, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(59,130,246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59,130,246, 0); }
}

.match-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.match-item {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--primary);
  opacity: 0;
  transform: translateX(20px);
  animation: slideIn 0.5s forwards;
}
@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}
.match-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.match-info p { font-size: 0.8rem; color: var(--text-muted); }
.match-score { color: #10B981; font-weight: 700; font-size: 1.1rem; }

/* How It Works Section */
.how-it-works { padding: 5rem 5%; background: var(--bg-darker); text-align: center; }
.how-it-works h2 { font-size: 2.5rem; margin-bottom: 4rem; }
.steps-container {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  max-width: 1000px; margin: 0 auto;
}
.step-card {
  flex: 1; background: var(--bg-card); padding: 2.5rem 2rem; border-radius: 16px;
  position: relative; z-index: 2; border: 1px solid var(--border-color);
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-10px); border-color: var(--secondary); }
.step-icon {
  font-size: 3rem; margin-bottom: 1.5rem; display: inline-block;
  background: rgba(255,255,255,0.05); width: 80px; height: 80px;
  line-height: 80px; border-radius: 50%;
}
.ai-icon {
  background: rgba(59,130,246,0.2); box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.step-card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

.step-connector {
  flex: 0.2; height: 2px; background: dashed 2px var(--border-color);
  position: relative; z-index: 1; top: -40px;
}

footer { padding: 2rem; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-muted); }

/* Responsive */
@media (max-width: 992px) {
  .hero { flex-direction: column; text-align: center; padding-top: 3rem; }
  .hero-content { margin-bottom: 4rem; }
  .hero h1 { font-size: 3rem; }
  .hero-buttons { justify-content: center; }
  .stats { justify-content: center; }
  .steps-container { flex-direction: column; }
  .step-connector { display: none; }
  .nav-links { display: none; }
}

/* Sections & Modals */
.padding-section { padding: 5rem 5%; background: var(--bg-dark); }
.features-section { background: var(--bg-darker); text-align: center; }
.features-section h2 { font-size: 2.5rem; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.feature-card { background: rgba(30, 41, 59, 0.4); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s, background 0.3s; }
.feature-card:hover { transform: translateY(-5px); background: rgba(30, 41, 59, 0.8); border-color: var(--primary); }
.feature-card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.benefits-section { display: flex; justify-content: center; }
.benefits-content { max-width: 800px; background: rgba(37, 99, 235, 0.05); padding: 3rem; border-radius: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
.benefits-content h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.benefit-item { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.5rem; }
.benefit-item .icon { font-size: 2.5rem; background: rgba(255,255,255,0.1); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.benefit-item h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.benefit-item p { color: var(--text-muted); }

/* Modal */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(4px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.modal.show { display: flex; opacity: 1; }
.modal-content { background-color: var(--bg-card); padding: 3rem 2rem; border-radius: 16px; width: 90%; max-width: 400px; text-align: center; position: relative; border: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(0,0,0,0.5); transform: translateY(-20px); transition: transform 0.3s; }
.modal.show .modal-content { transform: translateY(0); }
.close-btn { color: var(--text-muted); position: absolute; top: 15px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.2s; }
.close-btn:hover, .close-btn:focus { color: #fff; }
.modal-icon { font-size: 4rem; margin-bottom: 1rem; }
.modal-content h2 { margin-bottom: 1rem; color: var(--primary); }
.modal-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

/* Responsive Supplement */
@media (max-width: 768px) {
  .benefits-content { padding: 2rem 1.5rem; }
}

html { scroll-behavior: smooth; }
