/* AI Productivity Starter Kit Landing Page Styles */

:root {
    --primary-color: #7C3AED;
    --primary-light: #9F7AEA;
    --primary-dark: #6D28D9;
    --secondary-color: #3B82F6;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --dark-gray: #4B5563;
    --text-color: #1F2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'League Spartan', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="10" height="10"><circle fill="rgba(255,255,255,0.1)" cx="5" cy="5" r="1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: left;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

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

.stat-inline .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-inline .stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 0.25rem;
}

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

.brain-silhouette {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.brain-silhouette:hover {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    background: var(--white);
    padding: 3rem 1rem;
    border-top: 1px solid #E5E7EB;
}

.benefits-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.benefits h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.benefits-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.1);
}

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

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-section .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Form Styles */
.lead-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--error-color);
}

/* GDPR Consent Checkboxes */
.consent-group {
    margin-bottom: 1.25rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label {
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--dark-gray);
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label .required {
    color: var(--error-color);
    font-weight: 600;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.honeypot {
    display: none !important;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: left;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.form-footer small {
    color: var(--dark-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-footer strong {
    color: var(--text-color);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEF2F2;
    border-color: var(--error-color);
    color: #991B1B;
}

.alert-info {
    background-color: #EFF6FF;
    border-color: #3B82F6;
    color: #1E40AF;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

/* Trust Indicators */
.trust-indicators {
    background: var(--light-gray);
    padding: 2rem 1rem;
    text-align: center;
}

.trust-container {
    max-width: 800px;
    margin: 0 auto;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--dark-gray);
    font-size: 1rem;
}

.trust-testimonial {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trust-testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    quotes: """ """ "'" "'";
}

.trust-testimonial blockquote:before {
    content: open-quote;
}

.trust-testimonial blockquote:after {
    content: close-quote;
}

.trust-testimonial cite {
    font-weight: 600;
    color: var(--primary-dark);
    font-style: normal;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
}

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

.footer p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

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

/* Field Error Messages */
.field-error,
.field-warning {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.field-error {
    color: var(--error-color);
}

.field-warning {
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-inline .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-inline .stat-label {
        font-size: 0.8rem;
    }
    
    .benefits h2,
    .form-section h2 {
        font-size: 2rem;
    }
    
    .lead-form {
        padding: 1.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits,
    .form-section {
        padding: 2rem 1rem;
    }
    
    .lead-form {
        padding: 1rem;
    }
}

/* Performance Optimizations */
.hero-image img {
    will-change: transform;
}

.benefit-item {
    will-change: transform, box-shadow;
}

.submit-btn {
    will-change: transform, box-shadow;
}

/* Print Styles */
@media print {
    .header,
    .form-section,
    .footer {
        display: none;
    }
} 