/* 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, #059669, #047857);
    color: white;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #059669;
    border: 2px solid #059669;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* 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 rgba(229, 231, 235, 0.5);
    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, #059669, #047857);
    border-radius: 0.75rem;
    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: #059669;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    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(5, 150, 105, 0.1), rgba(4, 120, 87, 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(5, 150, 105, 0.1);
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #059669;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #059669, #047857);
    -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;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.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: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.dashboard-header {
    background: #f9fafb;
    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: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.dashboard-content {
    padding: 1.5rem;
}

.alert {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-high {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.alert-medium {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.alert-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #6b7280;
    flex-shrink: 0;
}

.alert-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    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: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.dashboard-stat {
    text-align: center;
}

.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: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.floating-1 {
    top: -2rem;
    right: -2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-2 {
    bottom: -2rem;
    left: -2rem;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-content {
    text-align: center;
}

.floating-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #059669;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    animation: pulse 2s infinite;
}

.floating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.floating-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: #f9fafb;
}

.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: 1rem;
    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: rgba(5, 150, 105, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #059669;
}

.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-grid.feature-reverse {
    direction: rtl;
}

.feature-grid.feature-reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    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.75rem;
}

.feature p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.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: #059669;
    font-weight: 600;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-mockup {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 300px;
}

.feature-mockup h4 {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1rem;
}

.risk-items, .form-items, .compliance-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-item, .form-item, .compliance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.risk-item.risk-high {
    background: #fef2f2;
    border-color: #fecaca;
}

.risk-item.risk-medium {
    background: #fffbeb;
    border-color: #fed7aa;
}

.risk-item.risk-low {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.risk-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: #059669;
    color: white;
}

.form-title {
    font-weight: 600;
    color: #111827;
}

.form-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.form-btn {
    background: #059669;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.form-export {
    margin-top: 1rem;
}

.form-export-btn {
    width: 100%;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.compliance-item {
    background: #f9fafb;
}

.compliance-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.compliance-item.compliance-good .compliance-dot {
    background: #10b981;
}

.compliance-item.compliance-warning .compliance-dot {
    background: #f59e0b;
}

.compliance-title {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.compliance-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.compliance-footer {
    text-align: center;
    padding: 0.75rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #f9fafb;
}

.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: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
}

.pricing-card.pricing-featured {
    border: 2px solid #059669;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.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: #059669;
    font-weight: 600;
}

/* Security 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: rgba(5, 150, 105, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #059669;
}

.security-item h3 {
    margin-bottom: 1rem;
}

.security-item p {
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: white;
    color: #059669;
}

.cta-benefits {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.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;
    font-size: 1.125rem;
}

.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: #059669;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    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: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    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: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.footer-brand p {
    color: #9ca3af;
    max-width: 400px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p:first-child {
    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: 1rem;
    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;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.modal-content {
    padding: 2rem;
}

.modal-content > p {
    margin-bottom: 2rem;
    text-align: center;
}

/* Waitlist form styling */
#waitlistForm {
    display: flex;
    flex-direction: column;
    gap: 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;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        gap: 0.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .header-actions .btn-primary,
    .header-actions .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .problem-grid,
    .pricing-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0.5rem 0;
        gap: 0.25rem;
    }
    
    .header-actions {
        gap: 0.25rem;
    }
    
    .header-actions .btn-primary,
    .header-actions .btn-secondary {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .logo h1 {
        font-size: 1.125rem;
    }
    
    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-actions .btn-primary,
    .header-actions .btn-secondary {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 4.5rem 0 3rem;
    }
}
