/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: #6b7280;
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: #111827;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1e40af;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.05));
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #1e40af;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background: #e5e7eb;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.dashboard-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-header h3 {
    font-size: 1rem;
    color: #374151;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #3b82f6; }

.dashboard-content {
    padding: 1.5rem;
}

.alert {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.alert-high {
    background: #fef2f2;
    border-color: #fecaca;
}

.alert-medium {
    background: #fffbeb;
    border-color: #fed7aa;
}

.alert-icon {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
    flex-shrink: 0;
}

.alert-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.alert-content p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.alert-content span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-stat {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.dashboard-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.dashboard-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.floating-element {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.floating-1 {
    top: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

.floating-2 {
    bottom: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-dot {
    width: 8px;
    height: 8px;
    background: #1e40af;
    border-radius: 50%;
}

.floating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.floating-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.problem-icon {
    width: 3rem;
    height: 3rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.problem-card p {
    color: #6b7280;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-grid:last-child {
    margin-bottom: 0;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-badge svg {
    width: 1rem;
    height: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 600;
}

/* Feature Visuals */
.feature-mockup {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.feature-mockup h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #374151;
}

/* Supplier Items */
.supplier-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.supplier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.supplier-complete {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.supplier-pending {
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.supplier-partial {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.supplier-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.supplier-complete .supplier-badge {
    background: #3b82f6;
    color: white;
}

.supplier-pending .supplier-badge {
    background: #f59e0b;
    color: white;
}

.supplier-partial .supplier-badge {
    background: #dc2626;
    color: white;
}

/* Mapper Items */
.mapper-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mapper-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.mapper-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.mapper-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.mapper-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
}

.mapper-export {
    margin-top: 1rem;
}

.mapper-export-btn {
    width: 100%;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

/* Report Items */
.report-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.report-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.report-complete .report-dot {
    background: #3b82f6;
}

.report-pending .report-dot {
    background: #f59e0b;
}

.report-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.report-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.report-footer {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 6px;
    margin-top: 0.5rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #f8fafc;
}

.pricing-toggle {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
}

.pricing-featured {
    border: 2px solid #1e40af;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e40af;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.pricing-card > p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
}

.period {
    font-size: 1.125rem;
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 600;
}

/* Security/Compliance Section */
.security {
    padding: 6rem 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-item {
    text-align: center;
    padding: 2rem 1rem;
}

.security-icon {
    width: 3rem;
    height: 3rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.security-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.security-item p {
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: #1e3a8a;
}

.cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-benefits {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #1e40af;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.footer-brand p {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-content {
    padding: 2rem;
}

.modal-content p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.modal-content form button[type="submit"] {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        max-width: none;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 1rem;
        padding: 0.75rem 0;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        min-width: 0;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .header-actions .btn-secondary,
    .header-actions .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 9rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .problem-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .header-actions .btn-secondary,
    .header-actions .btn-primary {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav {
        gap: 1rem;
        margin-top: 0.25rem;
    }
    
    .hero {
        padding: 8.5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-content {
        padding: 1.5rem;
    }
}
