/* Root Variables */
:root {
    --primary: #ff6a3e;
    --primaryDark: #e85a30;
    --secondary: #ffba43;
    --secondaryDark: #eba327;
    --secondaryDark2: #cb850c;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* Component Styles */
.cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}

/* CTA Section Styles */
#cta-51 {
    padding: var(--sectionPadding);
    position: relative;
}

#cta-51 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
}

#cta-51 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

#cta-51 .cs-text {
    margin-bottom: 1rem;
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
}

/* Background Image Styles - Used by both cta-51 and article sections */
.cs-picture {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.cs-picture:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.8;
    top: 0;
    left: 0;
    z-index: 1;
}

.cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Logo Styles */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.logo-icons {
    display: flex;
    gap: 0.25rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.logo-icon.blue { background-color: #87CEEB; }
.logo-icon.pink { background-color: #FFB6C1; }
.logo-icon.red { background-color: red; }

.logo-text {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Form Styles */
.input-button-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 25rem;
    margin: 0 auto;
}

.cs-input {
    flex: 1;
    font-size: 0.875rem;
    line-height: 2.5rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bodyTextColorWhite);
    outline: none;
}

.cs-button-solid {
    font-size: 0.875rem;
    line-height: 2.5rem;
    min-width: 7.5rem;
    padding: 0 1rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: var(--secondaryDark);
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cs-button-solid:hover {
    background-color: var(--secondaryDark2);
}

/* Title Styles */
.solutions-title {
    color: white;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    max-width: 800px;
}

.waitlist-title {
    color: var(--secondaryDark);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
    max-width: 800px;
}

/* Article Section */
#article {
    padding: 2rem;
    position: relative;
    color: var(--bodyTextColorWhite);
}

#article .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    position: relative;
    z-index: 1;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

#article .cs-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Timeline Section */
#timeline {
    padding: 1rem 1rem;
    background-color: #1a1a1a;
}

.simple-timeline {
    max-width: 1200px;
    margin: 1rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.timeline-entry {
    color: var(--bodyTextColorWhite);
    margin: 1rem 0;
    font-size: 1.1rem;
}

.timeline-link {
    color: var(--secondary);
    text-decoration: none;
    margin-left: 1rem;
}

.timeline-link:hover {
    text-decoration: underline;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

.notification-text {
    color: var(--bodyTextColorWhite);
    font-size: var(--bodyFontSize);
    margin: 0;
    font-weight: 500;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #000;
    background-size: cover;
    background-position: center;
    margin-right: -8px;
}

.social-proof-text {
    color: var(--bodyTextColorWhite);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-timeline {
        grid-template-columns: 1fr;
    }
    
    .input-button-group {
        flex-direction: column;
    }
}

.header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px; 
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.header-logo .logo-icons {
    margin-right: 10px;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.header-nav a:hover {
    opacity: 0.8;
}

/* Adjust main content for header */
section:first-of-type {
    padding-top: 80px;
}