/* Core System Styles */

/* Design Tokens (future-proof for Tailwind mapping) */
:root {
    --tf-bg: var(--bg-primary);
    --tf-fg: var(--text-primary);
    --tf-fg-muted: var(--text-secondary);
    --tf-accent: var(--brand-primary);
    --tf-shadow-lg: 0 20px 60px var(--shadow-lg);
    --tf-radius-xl: 20px;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    .js-anim,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-image {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Minimal helpers for Linear-style effects */
.core-muted {
    color: var(--tf-fg-muted);
}

.core-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--tf-shadow-lg);
    border-radius: var(--tf-radius-xl);
}

/* Hero helpers for parallax background */
.core-hero {
    position: relative;
    overflow: hidden;
}

.core-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transform: scale(1.05);
    transform-origin: center;
    pointer-events: none;
}

/* Modern Hero Section - Linear Style */
.core-hero-modern {
    background: var(--tf-bg) !important;
    color: var(--text-primary) !important;
    padding: 80px 20px 120px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.core-hero-modern .container {
    width: 100%;
}

.core-hero-modern .hero-content {
    margin-bottom: 4rem;
}

.hero-preview {
    max-width: 900px !important;
    width: 90% !important;
    margin: 0 auto !important;
    perspective: 1500px;
    padding: 0 20px;
}

.hero-preview-link {
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-preview-link:hover {
    transform: translateY(-8px);
}

.hero-preview-img {
    width: 100% !important;
    max-width: 900px !important;
    height: auto !important;
    display: block !important;
    border-radius: var(--tf-radius-xl);
    box-shadow: 0 25px 80px color-mix(in srgb, var(--brand-primary) 30%, transparent), 
                0 0 120px color-mix(in srgb, var(--brand-primary) 15%, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.hero-preview-link:hover .hero-preview-img {
    box-shadow: 0 30px 100px color-mix(in srgb, var(--brand-primary) 40%, transparent), 
                0 0 150px color-mix(in srgb, var(--brand-primary) 25%, transparent);
    transform: scale(1.02);
}

/* Hero Section (legacy) */
.hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 120px 20px;
    text-align: center;
    perspective: 1000px;
}

.core-hero-modern .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    /* Fade in with angle animation */
    animation: heroTitleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    transform-origin: center bottom;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(-15deg);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

.core-hero-modern .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--tf-fg-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    /* Staggered fade in animation */
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    /* Staggered fade in animation */
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-coming-soon {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 3rem;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-container {
    max-width: 900px;
    margin: 0 auto;
    perspective: 2000px;
    position: relative;
}

.hero-image-container::before {
    content: "";
    position: absolute;
    inset: -4% -6% -6% -6%;
    background: radial-gradient(1200px 400px at 50% -10%, color-mix(in srgb, var(--brand-primary) 20%, transparent), transparent 60%),
                radial-gradient(700px 300px at 15% 10%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 60%),
                radial-gradient(700px 300px at 85% 10%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 60%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.hero-tilt {
    transform: translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px color-mix(in srgb, var(--brand-primary) 35%, transparent);
    /* Ensure it's a block element for consistent transform behavior */
    display: block;
    /* Let CSS drive the initial motion to avoid JS transform conflicts */
    animation: heroFloatIn 1.4s ease-out 0.3s both;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

@keyframes heroFloatIn {
    from {
        opacity: 0;
        transform: translateY(-60px) rotateX(5deg) rotateY(-3deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(5deg) rotateY(-3deg);
    }
}

/* Gentle continuous float after intro completes */
.hero-image.hero-float-loop {
    animation: heroFloatLoop 7s ease-in-out 0.2s infinite alternate;
}

@keyframes heroFloatLoop {
    0%   { transform: translateY(-4px) rotateX(5deg) rotateY(-3deg); }
    50%  { transform: translateY(6px)  rotateX(5deg) rotateY(-3deg); }
    100% { transform: translateY(-2px) rotateX(5deg) rotateY(-3deg); }
}

/* Hero Screenshot Stack Container */
.home-hero-visual {
    width: min(100%, 1120px);
    margin-left: auto;
    margin-right: auto;
}

.home-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
}

/* Features Preview */
.features-preview {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Value Propositions */
.value-props {
    padding: 80px 20px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Bottom */
.cta-bottom {
    background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.cta-bottom h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-bottom p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-bottom .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-bottom .btn-secondary:hover {
    background: white;
    color: var(--brand-primary);
}

/* Page Hero (for About page) */
.page-hero {
    background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
}

.content-section.bg-light {
    background: var(--bg-secondary);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.content-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.content-block .large-text {
    font-size: 1.25rem;
    line-height: 1.8;
}

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

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.principle-card {
    text-align: center;
    padding: 2rem;
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.principle-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--brand-primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Legal Pages */
.legal-page {
    padding: 60px 20px;
    background: var(--bg-secondary);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-sm);
}

.legal-content .intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    white-space: pre-line;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
}

.legal-footer a {
    color: var(--brand-primary);
    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}

/* Workspace Accordion */
.ws-category-header,
.ws-item-header {
    list-style: none;
}
.ws-category-header::-webkit-details-marker,
.ws-item-header::-webkit-details-marker {
    display: none;
}
details[open] > .ws-category-header .ws-chevron,
details[open] > .ws-item-header .ws-chevron {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .core-hero-modern {
        min-height: auto;
        padding: 60px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-preview {
        max-width: 100%;
    }
    
    .hero-preview-link:hover {
        transform: none;
    }
    
    .hero-preview-link:hover .hero-preview-img {
        transform: none;
    }

    .home-hero-visual {
        margin-top: 3rem;
        width: min(100%, 720px);
    }

    .home-hero-image {
        border-radius: 10px;
        box-shadow: 0 16px 45px rgba(15, 23, 42, 0.22);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-bottom h2 {
        font-size: 2rem;
    }
    
    .cta-bottom p {
        font-size: 1.1rem;
    }
    
    .feature-grid,
    .value-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 2rem;
    }
}

/* Site Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    color: var(--footer-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--footer-heading);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--footer-heading);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* Content Section - Text Left / Image Right Layout */
.content-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.content-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.content-section-text {
    padding-right: 2rem;
}

.content-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.content-section-blurb {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.content-section-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.content-section-points li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-section-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

.content-section-systems {
    margin-bottom: 2rem;
}

.system-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
}

.system-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.system-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.content-section-cta {
    margin-top: 2rem;
}

.content-section-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--brand-primary) 10%, transparent) 0%, 
        color-mix(in srgb, var(--brand-primary) 5%, transparent) 100%);
    border: 2px dashed color-mix(in srgb, var(--brand-primary) 30%, transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--brand-primary) 15%, transparent) 0%, 
        color-mix(in srgb, var(--brand-primary) 8%, transparent) 100%);
    border-color: color-mix(in srgb, var(--brand-primary) 40%, transparent);
}

/* Responsive Content Sections */
@media (max-width: 968px) {
    .content-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-section-text {
        padding-right: 0;
    }
    
    .content-section-heading {
        font-size: 2rem;
    }
    
    .content-section-blurb {
        font-size: 1.05rem;
    }
    
    .content-section-image {
        order: -1;
    }
}

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */

.announcement-banner {
    background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
    color: white;
    padding: 1rem 20px;
    text-align: center;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.announcement-title {
    font-weight: 700;
    font-size: 1rem;
}

.announcement-desc {
    opacity: 0.9;
    font-size: 0.95rem;
}

.announcement-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.announcement-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.announcement-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.announcement-available {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
}

.announcement-highlight {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-highlight:hover {
    color: white;
    text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
    .announcement-banner {
        padding: 1.25rem 20px;
    }
    
    .announcement-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .announcement-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .announcement-divider {
        width: 60px;
        height: 1px;
    }
    
    .announcement-available {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ============================================
   WAITLIST PAGE STYLES
   ============================================ */

/* Waitlist Hero */
.waitlist-hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 100px 20px 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.waitlist-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.waitlist-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: heroTitleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.waitlist-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Waitlist Form Card */
.waitlist-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 20px 60px var(--shadow-lg);
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.waitlist-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.waitlist-form-card .form-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.waitlist-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.alert-success {
    background: color-mix(in srgb, var(--color-success) 15%, transparent);
    color: var(--color-success);
    border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
}

.alert-error {
    background: color-mix(in srgb, var(--color-error) 15%, transparent);
    color: var(--color-error);
    border: 1px solid color-mix(in srgb, var(--color-error) 30%, transparent);
}

.alert-icon {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Features Preview Section */
.features-preview-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.features-preview-section .section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-md);
}

.feature-preview-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-preview-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Waitlist Responsive */
@media (max-width: 768px) {
    .waitlist-title {
        font-size: 2.25rem;
    }
    
    .waitlist-subtitle {
        font-size: 1.1rem;
    }
    
    .waitlist-form-card {
        padding: 1.75rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-input {
        width: 100%;
    }
    
    .features-preview-section .section-title {
        font-size: 1.75rem;
    }
}
