/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

:root {
    /* Colors */
    --ginger-orange: #f39c12;
    --brand-blue: #2f7fff;
    --ink-900: #1a1a1a;
    --ink-700: #333333;
    --ink-500: #666666;
    --ink-300: #999999;
    --ink-100: #f5f5f5;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-button: 'Pixelify Sans', monospace;
    --font-mono: 'VT323', monospace;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: var(--font-primary);
    color: var(--ink-700);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--white);
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-brand {
    flex-shrink: 0;
}

.brand-logo {
    height: 20px;
    width: auto;
    display: block;
}

.header-contact {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-email {
    font-size: 0.875rem;
    color: var(--ink-500);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--ginger-orange);
    text-decoration: underline;
}

.header-actions {
    flex-shrink: 0;
}

.header-join-btn {
    background: linear-gradient(135deg, var(--ginger-orange) 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.2);
}

.header-join-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--ginger-orange) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

.header-join-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.2);
}

/* Adjust main content to account for fixed header */
.hero-section {
    margin-top: 40px;
}

/* Mobile Header Adjustments */
@media (max-width: 768px) {
    .site-header {
        padding: 0.375rem 0;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .brand-logo {
        height: 16px;
    }
    
    .header-contact {
        display: none; /* Hide email on mobile to save space */
    }
    
    .header-join-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .hero-section {
        margin-top: 30px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--ink-500);
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.flash-messages .alert {
    margin-bottom: 10px;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Glassmorphism Button Design */
:root {
  --angle: 0turn;
}

@keyframes rainbow {
  100% {
    --angle: 1turn;
  }
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0turn;
}

.button {
  --gray: #454449;
  --black: #32352a;
  --padding: 8px;
  --brad: 25px;
  font-size: 0.875rem;
  font-family: var(--font-primary);
  font-weight: 600;
  display: inline-grid;
  grid-template-areas: "button";
  /* GLASS */
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--brad);
  border: 0;
  padding: var(--padding);
  --blur: 1px;
  --white: rgba(255, 255, 255, 1);
  --blackBorder: rgba(0, 0, 0, 0.2);
  box-shadow: 0 -1px var(--blur) 0 var(--white), 0 1px var(--blur) 0 var(--white),
    1px 1px var(--blur) 0 var(--blackBorder), -1px 0 var(--blur) 0 var(--blackBorder), 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--brad) !important;
}

.button > * {
  scale: 1;
}

.button:active {
  transform: scale(0.98);
}

.button:active:before,
.button:active:after,
.button:active .text {
  scale: 0.9;
}

.button:active:after {
  --blur: 6.9px;
  --padding: 10px;
  animation-play-state: paused;
}

.button:after {
  /* GRADIENT */
  content: "";
  --offset: 10px;
  --walk: calc(var(--padding) * -1);
  width: calc(100% + var(--padding) * 2);
  height: calc(100% + var(--padding) * 2);
  z-index: -1;
  transform: translate(var(--walk), var(--walk));
  border-radius: var(--brad);
  --blur: 20px;
  filter: blur(var(--blur));
  opacity: 0.5;
  grid-area: button;
  /* Conic rainbow gradient */
  animation: rainbow 3s linear infinite;
  background: conic-gradient(from var(--angle), #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.button:before {
  /* BLACK BUTTON */
  content: "";
  /* Gradient from gray to black */
  background: linear-gradient(to bottom, var(--gray), var(--black));
  grid-area: button;
  padding: 20px;
  z-index: 1;
  border-radius: calc(var(--brad) - var(--padding));
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 8px 10px 0 rgba(0, 0, 0, 0.2);
}

.button .text {
  /* BLACK CIRCLE */
  background: linear-gradient(to bottom, var(--black), var(--gray));
  border-radius: 100px;
  color: #e9e9e9;
  grid-area: button;
  padding: 10px 20px;
  margin: 12px;
  z-index: 2;
  font-family: var(--font-primary) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Legacy support - map old classes to new button */
.custom-button {
  /* Use new button styles */
  --gray: #454449;
  --black: #32352a;
  --padding: 8px;
  --brad: 25px;
  font-size: 0.875rem;
  font-family: var(--font-primary);
  font-weight: 600;
  display: inline-grid;
  grid-template-areas: "button";
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--brad);
  border: 0;
  padding: var(--padding);
  --blur: 1px;
  --white: rgba(255, 255, 255, 1);
  --blackBorder: rgba(0, 0, 0, 0.2);
  box-shadow: 0 -1px var(--blur) 0 var(--white), 0 1px var(--blur) 0 var(--white),
    1px 1px var(--blur) 0 var(--blackBorder), -1px 0 var(--blur) 0 var(--blackBorder), 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--brad) !important;
}

.custom-button > * {
  scale: 1;
}

.custom-button:active {
  transform: scale(0.98);
}

.custom-button:active:before,
.custom-button:active:after,
.custom-button:active .text {
  scale: 0.9;
}

.custom-button:active:after {
  --blur: 6.9px;
  --padding: 10px;
  animation-play-state: paused;
}

.custom-button:after {
  content: "";
  --offset: 10px;
  --walk: calc(var(--padding) * -1);
  width: calc(100% + var(--padding) * 2);
  height: calc(100% + var(--padding) * 2);
  z-index: -1;
  transform: translate(var(--walk), var(--walk));
  border-radius: var(--brad);
  --blur: 20px;
  filter: blur(var(--blur));
  opacity: 0.5;
  grid-area: button;
  animation: rainbow 3s linear infinite;
  background: conic-gradient(from var(--angle), #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.custom-button:before {
  content: "";
  background: linear-gradient(to bottom, var(--gray), var(--black));
  grid-area: button;
  padding: 20px;
  z-index: 1;
  border-radius: calc(var(--brad) - var(--padding));
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 8px 10px 0 rgba(0, 0, 0, 0.2);
}

.custom-button .text {
  background: linear-gradient(to bottom, var(--black), var(--gray));
  border-radius: 100px;
  color: #e9e9e9;
  grid-area: button;
  padding: 10px 20px;
  margin: 12px;
  z-index: 2;
  font-family: var(--font-primary) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}

.custom-button .cap {
  display: none; /* Hide the old cap element */
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #fafbfc 25%, 
        #f8fafc 50%, 
        #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(243, 156, 18, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(47, 127, 255, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    margin-bottom: 2rem;
}

.badge-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Hero Typography */
.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-title span {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d68910 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Hero Form */
.hero-form-container {
    margin-bottom: 3rem;
}

.form-input-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.form-input-wrapper:focus-within {
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 
        0 0 0 3px rgba(243, 156, 18, 0.1),
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 20px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.25rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1e293b;
    outline: none;
    border-radius: 12px;
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-note {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
    margin: 0;
}

.note-highlight {
    font-weight: 600;
    color: #f39c12;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.05) 100%);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
}

.feature-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.email-input,
.form-control.email-input {
    flex: 1;
    min-width: 200px !important;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}

.email-input:focus {
    outline: none;
    border-color: var(--ginger-orange);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.company-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.company-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(47, 127, 255, 0.1);
}

/* Trust Chips */
.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-700);
}

.chip-icon {
    width: 16px;
    height: 16px;
    color: var(--ginger-orange);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.phone-mockup-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 10;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s ease;
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        inset 0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.phone-shadow {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 45px;
    blur: 30px;
    z-index: -1;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) scale(0.9);
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.time {
    font-variant-numeric: tabular-nums;
}

.status-icons {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.status-icon {
    width: 16px;
    height: 16px;
    color: #475569;
}

/* App Interface */
.app-interface {
    padding: 1rem 1.5rem 2rem;
    height: calc(100% - 3rem);
    display: flex;
    flex-direction: column;
}

.app-header {
    margin-bottom: 2rem;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3b82f6;
    backdrop-filter: blur(10px);
}

.location-icon {
    width: 14px;
    height: 14px;
}

.clock-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.current-time {
    text-align: center;
}

.time-display {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.clock-button {
    position: relative;
}

.clock-btn-inner {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d68910 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 20px 40px rgba(243, 156, 18, 0.25),
        0 8px 16px rgba(243, 156, 18, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.clock-btn-inner:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(243, 156, 18, 0.3),
        0 12px 24px rgba(243, 156, 18, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.clock-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.clock-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.025em;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.status-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #16a34a;
}

/* Background Elements */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(243, 156, 18, 0.02) 100%);
    filter: blur(1px);
}

.bg-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -10%;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.bg-gradient {
    position: absolute;
    top: 50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50%) scale(1.1);
        opacity: 0.4;
    }
}

.worker-icon {
    width: 16px;
    height: 16px;
    color: var(--ginger-orange);
}

.construction-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.15;
    width: 150%;
    height: 150%;
    overflow: hidden;
    border-radius: 20px;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) grayscale(100%);
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 3rem;
}

/* Pain Points Section */
.pain-points-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.pain-point-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pain-point-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pain-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pain-icon .icon {
    width: 28px;
    height: 28px;
    color: white;
}

.pain-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
}

/* Solution Section */
.solution-section {
    background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f39c12' fill-opacity='0.05'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: -1;
}

.solution-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ginger-orange) 0%, #e67e22 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.solution-icon .icon {
    width: 36px;
    height: 36px;
    color: white;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink-900);
}

.solution-description {
    color: var(--ink-500);
    font-size: 1rem;
    margin: 0;
}

/* Steps Section */
.steps-section {
    background: var(--white);
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 80px;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--ginger-orange), rgba(243, 156, 18, 0.3));
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ginger-orange) 0%, #e67e22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink-900);
}

.step-description {
    color: var(--ink-500);
    margin: 0;
}

.step-visual {
    flex-shrink: 0;
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--brand-blue);
}

/* Differentiation Section */
.differentiation-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.feature-list {
    padding: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-check {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--ink-900);
}

/* Roadmap Section */
.roadmap-section {
    background: var(--white);
}

.roadmap-column {
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
}

.roadmap-column.ready {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.roadmap-column.coming {
    background: linear-gradient(135deg, #fef3c7 0%, #fef7cd 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.roadmap-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.roadmap-icon {
    width: 24px;
    height: 24px;
}

.roadmap-column.ready .roadmap-icon {
    color: var(--success);
}

.roadmap-column.coming .roadmap-icon {
    color: var(--warning);
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: var(--ink-700);
}

.roadmap-list li:last-child {
    border-bottom: none;
}

/* Target Section */
.target-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.target-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.target-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    min-width: 120px;
}

.target-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.target-icon:hover {
    transform: scale(1.1);
}

.target-icon .icon {
    width: 36px;
    height: 36px;
    color: white;
}

.target-label {
    font-weight: 600;
    color: var(--ink-700);
    font-size: 0.875rem;
}

.target-subcopy {
    font-size: 1.125rem;
    color: var(--ink-500);
    font-style: italic;
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35a15 15 0 1 1 0-30 15 15 0 0 1 0 30z' fill-rule='nonzero'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: -1;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtext {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form .button {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
}

.cta-form .email-input,
.cta-form .company-input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--ink-900) !important;
    backdrop-filter: blur(10px);
    border-radius: 50px !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    width: 100% !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
}

/* Additional specificity for form controls */
.final-cta-section .cta-form input.form-control.email-input,
.final-cta-section .cta-form input.form-control.company-input {
    border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
}

.cta-form .email-input::placeholder,
.cta-form .company-input::placeholder {
    color: var(--ink-500);
}

.cta-form .email-input:focus,
.cta-form .company-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--ginger-orange);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.3);
    color: var(--ink-900);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

.form-help-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--ink-900);
    padding: 1.5rem;
    border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--ginger-orange) 0%, #e67e22 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--ink-700);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: var(--ink-900);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--ginger-orange);
}

.footer-icon {
    width: 16px;
    height: 16px;
}

/* CTA Link with Glassmorphism */
.cta-link {
    text-decoration: none;
    display: inline-block;
}

.cta-link .button {
    --gray: #454449;
    --black: #32352a;
    --padding: 12px;
    --brad: 30px;
    font-size: 0.875rem;
    font-family: "Pixelify Sans", monospace;
    font-weight: 600;
    display: inline-grid;
    grid-template-areas: "button";
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--brad);
    border: 0;
    padding: var(--padding);
    --blur: 1px;
    --white: rgba(255, 255, 255, 1);
    --blackBorder: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -1px var(--blur) 0 var(--white), 0 1px var(--blur) 0 var(--white),
      1px 1px var(--blur) 0 var(--blackBorder), -1px 0 var(--blur) 0 var(--blackBorder), 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
        max-width: none;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        max-width: none;
        margin: 0 auto 2rem;
    }
    
    .hero-badge {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .form-input-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .form-input {
        width: 100%;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .phone-mockup-container {
        max-width: 300px;
        height: 500px;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
        transform: perspective(800px) rotateY(-5deg) rotateX(1deg);
    }
    
    .phone-frame:hover {
        transform: perspective(800px) rotateY(-2deg) rotateX(0.5deg);
    }
    
    .time-display {
        font-size: 1.5rem;
    }
    
    .clock-btn-inner {
        width: 120px;
        height: 120px;
    }
    
    .bg-circle-1,
    .bg-circle-2 {
        display: none;
    }
    
    .bg-gradient {
        width: 200px;
        height: 200px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-item::after {
        display: none;
    }
    
    .target-icons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .target-item {
        min-width: 100px;
    }
    
    .cta-form .input-group {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pain-point-card,
    .solution-card {
        padding: 1.5rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 15px;
    }
    
    .clock-in-btn {
        width: 100px;
        height: 100px;
        font-size: 0.875rem;
    }
    
    .target-icons {
        gap: 1rem;
    }
    
    .target-item {
        min-width: 80px;
    }
    
    .target-icon {
        width: 60px;
        height: 60px;
    }
    
    .target-icon .icon {
        width: 28px;
        height: 28px;
    }
}

/* Performance Optimizations */
.hero-visual,
.construction-bg,
.phone-mockup {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Success Modal Styles */
.success-modal-overlay,
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: modalFadeIn 0.3s ease-out;
}

.success-modal,
.error-modal {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

.success-icon,
.error-icon {
    margin: 0 auto 1.5rem;
    animation: iconBounce 0.6s ease-out 0.2s both;
}

.success-title,
.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink-900);
}

.success-message,
.error-message {
    font-size: 1rem;
    color: var(--ink-700);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.success-email {
    font-size: 0.875rem;
    color: var(--ink-500);
    margin-bottom: 2rem;
}

.success-close-btn,
.error-close-btn {
    margin-top: 1rem;
}

/* Confetti Animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--ginger-orange);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --ink-900: #000000;
        --ink-700: #333333;
        --white: #ffffff;
    }
}
