/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

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

.hero-dashboard {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 550px;
    animation: float 4s ease-in-out infinite;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.dashboard-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ef4444;
}

.control.yellow {
    background: #3b82f6;
}

.control.green {
    background: #10b981;
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-content {
    padding: 1.5rem;
}

.chat-interface {
    margin-bottom: 1.5rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.message i {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-message i {
    background: var(--primary-color);
    color: var(--text-white);
}

.ai-message i {
    background: var(--success-color);
    color: var(--text-white);
}

.message span,
.message div {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.4;
}

.message-highlight {
    background: rgba(37, 99, 235, 0.1);
    border-left: 3px solid var(--primary-color);
    margin-top: 0.5rem;
    font-style: italic;
}

.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    text-align: center;
}

.upload-zone i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Security Section */
.security {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: var(--text-white);
}

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

.security h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.security-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.security-features {
    margin-bottom: 2rem;
}

.security-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.security-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-icon i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.security-info h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.security-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

.compliance-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.security-layer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-layer .layer-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-layer .layer-icon i {
    color: var(--text-white);
}

.security-layer span {
    color: var(--text-white);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-header p {
    color: var(--text-muted);
    margin: 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features li i.fa-check {
    color: var(--success-color);
}

.pricing-features li i.fa-times {
    color: var(--text-muted);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    margin: 0;
    color: var(--text-secondary);
}

/* Demo Section */
.demo {
    background: var(--bg-primary);
}

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

.demo-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.demo-feature i {
    color: var(--primary-color);
}

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

.demo-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    background: rgba(37, 99, 235, 0.05);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
}

.video-placeholder span {
    color: var(--text-secondary);
    font-weight: 500;
}

.demo-example {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    animation: float 4s ease-in-out infinite;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.demo-controls {
    display: flex;
    gap: 0.5rem;
}

.demo-title {
    font-weight: 600;
    color: var(--text-primary);
}

.demo-chat {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.demo-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.demo-message i {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.demo-message.user i {
    background: var(--primary-color);
    color: var(--text-white);
}

.demo-message.ai i {
    background: var(--success-color);
    color: var(--text-white);
}

.message-content {
    flex: 1;
}

.message-content > span {
    display: block;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
}

.result-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.result-header i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.result-header span:first-of-type {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.relevance {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.result-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 0.75rem;
    background: rgba(37, 99, 235, 0.05);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

.demo-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.demo-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.demo-input button {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.demo-input button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

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

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contact-method i {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-method p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content,
    .security-content,
    .demo-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 5rem;
        height: 6rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    /* Enhanced Demo Section Mobile Styles */
    .demo-content {
        gap: 3rem;
        text-align: center;
    }
    
    .demo-features {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-feature {
        justify-content: center;
        padding: 0.5rem;
    }
    
    .demo-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .demo-example {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .demo-header {
        padding: 0.75rem 1rem;
    }
    
    .demo-title {
        font-size: 0.875rem;
    }
    
    .demo-chat {
        padding: 1rem;
        max-height: 300px;
    }
    
    .demo-message {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .demo-message i {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
    
    .message-content > span {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .result-item {
        padding: 0.75rem;
    }
    
    .result-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .result-header span:first-of-type {
        font-size: 0.875rem;
    }
    
    .result-text {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .demo-input {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .demo-input input {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .demo-input button {
        padding: 0.5rem 0.75rem;
        min-width: 44px;
    }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 480px) {
    .demo h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .demo p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .demo-features {
        gap: 0.75rem;
    }
    
    .demo-feature {
        font-size: 0.875rem;
    }
    
    .demo-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .demo-example {
        border-radius: var(--radius-lg);
    }
    
    .demo-chat {
        max-height: 250px;
        padding: 0.75rem;
    }
    
    .demo-message {
        margin-bottom: 0.75rem;
    }
    
    .message-content > span {
        padding: 0.5rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .search-results {
        gap: 0.75rem;
    }
    
    .result-item {
        padding: 0.5rem;
    }
    
    .result-header {
        margin-bottom: 0.5rem;
    }
    
    .result-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .relevance {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}
