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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #FF7A00;
    text-decoration: none;
}

a:hover {
    color: #E66600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF7A00, #E66600);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #FF7A00;
    border: 2px solid #FF7A00;
}

.btn-outline:hover {
    background: #FF7A00;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand img.logo {
    height: 40px;
    width: auto;
}

.nav-menu .nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #2B4570;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF7A00;
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #f8f9fa;
    color: #FF7A00;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #2B4570;
    margin: 3px 0;
    transition: 0.3s;
}

/* Flash Messages */
.flash-messages {
    padding-top: 80px;
    background: #f8f9fa;
}

.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2B4570;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: #FF7A00;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

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

.hero-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.card-status span {
    font-weight: 500;
    color: #28a745;
    font-size: 0.875rem;
}

.ai-message, .ai-response {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.ai-message {
    background: #e3f2fd;
    color: #1565c0;
}

.ai-response {
    background: #fff3e0;
    color: #ef6c00;
}

.ai-message i, .ai-response i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2B4570;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #FF7A00;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FF7A00, #E66600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #2B4570;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF7A00, #E66600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2B4570;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    color: #2B4570;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    color: #28a745;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: #2B4570;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

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

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #FF7A00, #E66600);
    border-radius: 12px;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2B4570, #1a3355);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Pages */
.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #2B4570, #1a3355);
    color: white;
    text-align: center;
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 80px 0;
}

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

.contact-form-container h2 {
    color: #2B4570;
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: #2B4570;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #FF7A00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.form-control.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h3 {
    color: #2B4570;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF7A00, #E66600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h4 {
    color: #2B4570;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.demo-request {
    background: linear-gradient(135deg, #FF7A00, #E66600);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.demo-request h4 {
    color: white;
    margin-bottom: 1rem;
}

.demo-request p {
    margin: 0;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    color: #2B4570;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #2B4570;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Blog Pages */
.blog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #2B4570, #1a3355);
    color: white;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.blog-posts {
    padding: 80px 0;
}

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

.post-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: #2B4570;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-title a:hover {
    color: #FF7A00;
}

.post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #FF7A00;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Newsletter */
.newsletter-signup {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.newsletter-content h3 {
    color: #2B4570;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: #FF7A00;
}

/* Blog Post */
.blog-post {
    padding: 120px 0 80px;
}

.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #FF7A00;
}

.post-title {
    color: #2B4570;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: #6c757d;
}

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

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    margin-bottom: 3rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-link {
    color: #6c757d;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: #FF7A00;
}

.related-posts {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.related-posts h3 {
    color: #2B4570;
    margin-bottom: 2rem;
}

.related-post h4 a {
    color: #2B4570;
    font-weight: 600;
}

.related-post h4 a:hover {
    color: #FF7A00;
}

.related-post p {
    color: #6c757d;
    margin: 0;
}

.post-cta {
    background: linear-gradient(135deg, #2B4570, #1a3355);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.post-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.post-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    color: #2B4570;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.last-updated {
    color: #6c757d;
    font-style: italic;
}

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

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #2B4570;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: #FF7A00;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Error Page */
.error-page {
    padding: 120px 0 80px;
    text-align: center;
}

.error-content {
    max-width: 500px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #FF7A00;
    margin-bottom: 2rem;
}

.error-content h1 {
    color: #2B4570;
    margin-bottom: 1rem;
}

.error-content p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2B4570;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #e9ecef;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-list {
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-link {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
}