/* Landing Page Styles - Matches App Design System */

.landing-page {
    max-width: 500px;
    margin: 0 auto;
    padding: 32px 16px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
                 "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

/* Responsive container widths */
@media (min-width: 768px) {
    .landing-page {
        max-width: 700px;
        padding: 40px 24px;
    }
}

@media (min-width: 1024px) {
    .landing-page {
        max-width: 900px;
        padding: 48px 32px;
    }
}

@media (min-width: 1200px) {
    .landing-page {
        max-width: 1100px;
        padding: 56px 40px;
    }
}

.landing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.landing-header h1 {
    font-size: 24px;
    margin: 0 0 12px 0;
    color: var(--cta-bg);
    font-weight: 700;
}

.landing-subtitle {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

/* Responsive typography */
@media (min-width: 768px) {
    .landing-header h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .landing-subtitle {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .landing-header h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .landing-subtitle {
        font-size: 20px;
    }
}

.landing-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Responsive content layout */
@media (min-width: 1024px) {
    .landing-content {
        gap: 32px;
    }
    
    /* Two-column layout for larger screens */
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        align-items: start;
    }
    
    /* Make company info span full width */
    .company-info {
        grid-column: 1 / -1;
    }
    
    /* Legal documents section spans full width */
    .legal-documents {
        grid-column: 1 / -1;
    }
    
    /* CTA section spans full width */
    .cta-section {
        grid-column: 1 / -1;
    }
}

.company-info {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
}

.info-grid {
    display: grid;
    gap: 12px;
}

/* Responsive company info */
@media (min-width: 768px) {
    .company-info {
        padding: 24px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }
}

@media (min-width: 1024px) {
    .company-info {
        padding: 28px 32px;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 32px;
    }
}

.info-item {
    font-size: 14px;
    line-height: 1.4;
}

.info-item strong {
    color: var(--cta-bg);
    font-weight: 600;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--cta-bg);
    text-decoration: underline;
}

.content-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
}

/* Responsive content sections */
@media (min-width: 768px) {
    .content-section {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .content-section {
        padding: 28px 32px;
    }
    
    /* Two-column layout for content sections on large screens */
    .landing-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Create a responsive grid for the main content sections */
    .content-sections-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }
    
    /* Some sections should span full width */
    .content-section:nth-child(1), /* About the Company */
    .content-section:nth-child(5), /* Legal Documents */
    .content-section:nth-child(8), /* Contact Information */
    .content-section:nth-child(9)  /* External Links */
    {
        grid-column: 1 / -1;
    }
}

.content-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cta-bg);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.content-section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 12px 0;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section ul {
    margin: 12px 0;
    padding-left: 20px;
}

.content-section li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 6px;
}

.content-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-section a:hover {
    color: var(--cta-bg);
    text-decoration: underline;
}

.legal-documents {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
}

/* Responsive legal documents */
@media (min-width: 768px) {
    .legal-documents {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .legal-documents {
        padding: 28px 32px;
    }
    
    /* Three-column layout for legal cards on large screens */
    .legal-cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
        margin-top: 20px;
    }
    
    .legal-card {
        margin-bottom: 0;
    }
}

.legal-documents h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cta-bg);
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-card {
    
    margin-bottom: 16px;
}

.legal-card:last-child {
    margin-bottom: 0;
}

.legal-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--cta-bg);
    margin: 0 0 12px 0;
}

.legal-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 12px 0;
}

.legal-card ul {
    margin: 12px 0 16px 0;
    padding-left: 20px;
}

.legal-card li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 6px;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    color: var(--cta-bg);
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.legal-link:hover {
    background: var(--border);
    transform: translateY(-1px);
    text-decoration: none;
}

.contact-info {
    display: grid;
    gap: 12px;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info strong {
    color: var(--cta-bg);
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--cta-bg);
    text-decoration: underline;
}

.cta-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 8px;
    margin-bottom: 30px;
}

/* Responsive CTA section */
@media (min-width: 768px) {
    .cta-section {
        padding: 32px 24px;
    }
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 40px 32px;
        margin-top: 16px;
    }
}

.cta-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cta-bg);
    margin: 0 0 12px 0;
}

.cta-section p {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cta-bg);
    color: var(--cta-fg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 32px;
    padding: 14px 24px;
    transition: all 0.2s ease;
    box-shadow: var(--cta-shadow);
}

.cta-button:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-page {
        padding: 16px 12px;
    }
    
    .company-info,
    .content-section,
    .legal-documents,
    .cta-section {
        padding: 16px;
    }
    
    .legal-card {
        padding: 12px;
    }
    
    .landing-header h1 {
        font-size: 22px;
    }
    
    .landing-subtitle {
        font-size: 14px;
    }
}