/**
 * Landing Page CSS
 * Styles for the public-facing landing pages
 * @version 1.0.0
 */

/* ===================================================================
   LANDING PAGE SPECIFIC STYLES
   =================================================================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Header/Navigation */
.landing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.landing-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.landing-nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 20px;
    text-align: center;
}

.hero-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-logo {
    height: 50px;
    margin-bottom: 0.5rem;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Form Panel */
.hero-form-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    width: 340px;
    min-height: 320px;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-form-panel h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.hero-form-panel p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-input::placeholder {
    color: #999;
}

.form-submit {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.features-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
    .features-grid,
    .features-grid.two-col {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

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

.feature-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature-preview {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

/* Step Sections */
.step-section {
    margin-top: 3rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Skill Modal */
.skill-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.skill-modal.active {
    display: flex;
}

.skill-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.skill-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.skill-modal-close:hover {
    color: #333;
}

.skill-modal-content img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.skill-modal.wide .skill-modal-content {
    width: 80%;
    max-width: 900px;
}

.skill-modal.wide .skill-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.skill-modal-content h3 {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.skill-modal-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

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

.invite-notice {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.invite-notice p {
    margin: 0;
    font-size: 1.1rem;
}

/* Footer */
.landing-footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 20px;
    background: white;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-page strong {
    color: #2c3e50;
}

.last-updated {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.company-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.company-info p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-form-panel {
        width: 100%;
        max-width: 400px;
    }

    .features-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .landing-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .landing-nav-links {
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-page h2 {
        font-size: 1.5rem;
    }
}
