/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1f2937;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f2937;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-note {
    font-size: 0.875rem;
    color: #10b981;
    margin-top: 1rem;
}

/* Buttons */
.cta-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 48px;
    min-width: 48px;
}

.cta-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 48px;
    min-width: 48px;
}

.cta-secondary:hover {
    background: #3b82f6;
    color: white;
}

.cta-secondary-large {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 48px;
    min-width: 48px;
}

.cta-secondary-large:hover {
    background: #3b82f6;
    color: white;
}

.cta-outline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 48px;
    min-width: 48px;
}

.cta-outline:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 600px;
}

.comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.before, .after {
    flex: 1;
    text-align: center;
}

.before h4, .after h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #6b7280;
}

.pdf-mockup {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pdf-header {
    height: 12px;
    background: #f3f4f6;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.pdf-field {
    height: 32px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.pdf-field.short {
    width: 60%;
}

.form-mockup {
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.form-mockup input,
.form-mockup textarea,
.form-mockup button {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.form-mockup button {
    background: #3b82f6;
    color: white;
    border: none;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
}

.arrow {
    font-size: 2rem;
    color: #3b82f6;
    transform: rotate(90deg);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: #ffffff;
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

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

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* Demo Section */
.demo {
    padding: 4rem 0;
    background: #f8fafc;
}

.demo h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.demo-video {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: #1f2937;
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.play-button {
    font-size: 4rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.video-placeholder p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Case Studies */
.case-studies {
    padding: 4rem 0;
    background: #ffffff;
}

.case-studies h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.case-studies-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.case-study {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kpi-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-study h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.case-study p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-style: italic;
}

.metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: #f8fafc;
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    color: #4b5563;
}

/* Deployment Options */
.deployment {
    padding: 4rem 0;
    background: #ffffff;
}

.deployment h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.deployment-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.deployment-option {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

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

.deployment-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.deployment-option p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Trust Section */
.trust {
    padding: 4rem 0;
    background: #f8fafc;
}

.trust h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-logos img {
    height: 60px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s;
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Secondary CTA */
.secondary-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.secondary-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #1f2937;
}

.modal h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

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

.conversion-form input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload label {
    display: block;
    padding: 0.75rem;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload label:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .comparison {
        flex-direction: row;
        gap: 2rem;
    }
    
    .arrow {
        transform: rotate(0deg);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deployment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        gap: 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .deployment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-logos {
        gap: 4rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .benefit-card,
    .case-study,
    .pricing-card,
    .deployment-option {
        border-width: 2px;
        border-color: #000000;
    }
}
