/* ShiftFlex Landing Page Styles - Dark Sky Theme */

:root {
  /* Brand Colors - Dark Sky Theme */
  --brand-primary: #4FACFE;
  --brand-primary-light: #00F2FE;
  --brand-primary-dark: #0EA5E9;
  --brand-secondary: #F43F5E;
  --brand-secondary-light: #FB7185;
  --brand-tertiary: #6366F1;
  
  /* Functional Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Neutrals - Dark Theme */
  --bg-app: #0F172A;
  --bg-card: #1E293B;
  --bg-secondary: #334155;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --border: #334155;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
  --gradient-dark: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;
  --spacing-4xl: 40px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-primary-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-lg) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.nav-links {
  display: flex;
  gap: var(--spacing-3xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta {
  display: flex;
  gap: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-app);
  box-shadow: 0 4px 16px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-primary);
}

.btn-large {
  padding: var(--spacing-lg) var(--spacing-3xl);
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}

.hero-badge span {
  color: var(--brand-primary);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-4xl);
}

.store-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  transition: all 0.3s ease;
}

.store-btn:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--text-main);
}

.store-btn-text {
  text-align: left;
}

.store-btn-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.store-btn-text strong {
  font-size: 1rem;
  color: var(--text-main);
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.phone-frame {
  background: var(--bg-card);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
}

.phone-screen {
  background: var(--gradient-dark);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen-placeholder {
  color: var(--text-muted);
  text-align: center;
  padding: var(--spacing-xl);
}

.phone-screen-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--brand-primary);
  opacity: 0.5;
  margin-bottom: var(--spacing-md);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--bg-app);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Roles Section */
.roles {
  padding: 100px 0;
  background: var(--bg-card);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-3xl);
}

.role-card {
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.role-card.employee::before {
  background: var(--gradient-primary);
}

.role-card.manager::before {
  background: linear-gradient(90deg, #6366F1, #818CF8);
}

.role-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
}

.role-card.employee .role-badge {
  color: var(--brand-primary);
}

.role-card.manager .role-badge {
  color: var(--brand-tertiary);
}

.role-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

.role-features {
  list-style: none;
}

.role-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.role-features li svg {
  width: 20px;
  height: 20px;
  fill: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-4xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--bg-app);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.cta-box p {
  font-size: 1.125rem;
  color: rgba(15, 23, 42, 0.8);
  margin-bottom: var(--spacing-3xl);
  position: relative;
}

.cta-box .btn {
  background: var(--bg-app);
  color: var(--text-main);
  position: relative;
}

.cta-box .btn:hover {
  background: var(--bg-card);
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-4xl);
  margin-bottom: var(--spacing-4xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: var(--spacing-lg);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: var(--spacing-lg);
}

.social-links a {
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--brand-primary);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text-main);
}

/* Responsive */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }
}
