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

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #8B5CF6;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-gray-light: #F3F4F6;
    --border: #E5E7EB;
    --success: #10B981;
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links > a:hover {
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-dropdown:hover > a {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 8px;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: var(--primary);
    background: var(--bg-gray);
}

.btn-secondary-small {
    padding: 8px 20px;
    background: var(--bg-gray);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-small:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0 80px;
    background: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto 64px;
    text-align: left;
}

.hero-headline {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    max-width: 100%;
}

.hero-subheadline {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 100%;
    margin: 0;
}

.hero-chat {
    margin: 64px auto;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-section {
    padding: 80px 0;
    background: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
}

.product-screenshot {
    max-width: 100%;
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Customers Section */
.customers {
    padding: 40px 0;
    background: #F3F4F6;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1600px;
    margin: 0 auto;
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
}

.cert-icon svg,
.cert-icon img {
    width: 96px;
    height: 96px;
}

.cert-label {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    line-height: 1.3;
    margin-bottom: 6px;
}

.cert-status {
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

.cert-status.coming-soon {
    font-size: 18px;
    color: #9CA3AF;
    font-style: italic;
    font-weight: 400;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}


.animated-chat-container {
    width: 100%;
    max-width: 900px;
    background: transparent;
    position: relative;
}

.chat-messages {
    padding: 0;
    background: transparent;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: flex-end;
}

.message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    margin-bottom: 4px;
}

.user-avatar {
    background: var(--bg-gray);
    color: var(--text-secondary);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ai-avatar {
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 32px;
}

.message-bubble {
    max-width: 75%;
    padding: 16px 20px;
    border-radius: 12px;
    position: relative;
}

.user-bubble {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.ai-bubble {
    background: #E5E7EB;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.message-bubble p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    white-space: pre-line;
    text-align: left;
    color: inherit;
}

.message-bubble p strong {
    font-weight: 600;
    color: inherit;
}

.message-bubble p div {
    margin-bottom: -4px;
    line-height: 1.3;
}

.document-citations {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.citations-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.citation-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    font-size: 14px;
}

.citation-link:hover {
    background: var(--bg-gray);
    border-color: var(--primary);
    transform: translateX(4px);
}

.citation-link svg {
    color: var(--primary);
    opacity: 0.6;
    flex-shrink: 0;
}


.features-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 32px;
    align-items: start;
}

.feature-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-content h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 24px;
}

/* Feature Chat Examples */
.feature-chat-example {
    margin-top: 24px;
}

.feature-chat-container {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.feature-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-chat-greeting {
    font-size: 14px;
    color: var(--primary);
}

.feature-chat-greeting strong {
    font-weight: 600;
}

.feature-chat-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-chat-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.feature-chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    color: var(--text-primary);
}

.feature-chat-input input::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.feature-chat-send {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.feature-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feature-message.user-feature-message {
    flex-direction: row-reverse;
}

.feature-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-message-avatar.user-avatar {
    background: var(--bg-gray);
}

.feature-message-avatar.ai-avatar {
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.feature-message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.feature-message-bubble.user-bubble {
    background: var(--primary);
    color: white;
}

.feature-message-bubble.ai-bubble {
    background: #E5E7EB;
    color: #111827;
}

.feature-message-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: inherit;
}

.feature-message-bubble p strong {
    font-weight: 700;
    color: inherit;
}


/* Departments Section */
.departments {
    padding: 100px 0;
    background: var(--bg-gray);
}

.departments-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
    overflow-x: auto;
}

.department-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    flex: 0 0 auto;
    min-width: 160px;
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.department-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.department-icon svg {
    width: 48px;
    height: 48px;
}

.department-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq .container {
    max-width: 100%;
    padding: 0;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    padding: 0 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.faq-item {
    display: grid;
    grid-template-columns: 80px 1fr 56px;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid #E5E7EB;
    align-items: start;
    width: 100%;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-number {
    font-size: 18px;
    font-weight: 400;
    color: #9CA3AF;
    line-height: 1.5;
    padding-left: 24px;
}

.faq-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
    grid-column: 2;
}

.faq-question-text {
    flex: 1;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.5;
}

.faq-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-btn {
    transform: rotate(45deg);
}

.faq-icon {
    width: 16px;
    height: 16px;
}

.faq-answer {
    grid-column: 2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, margin-top 0.3s ease-out;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    padding: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 16px 0;
    margin-top: 8px;
}

.faq-answer p {
    margin: 0;
}

/* Security Section */
.security {
    padding: 80px 0;
    background: var(--bg-gray);
}

.security-content {
    max-width: 1000px;
    margin: 0 auto;
}

.security-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.badge-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.badge-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.badge-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.badge-icon svg {
    width: 48px;
    height: 48px;
}

.badge-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.badge-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Security Page Styles */
.security-hero {
    padding: 120px 0 80px;
    background: white;
    text-align: center;
}

.security-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.security-hero-text {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 1400px;
    margin: 0 auto;
}

.security-certifications {
    padding: 80px 0;
    background: var(--bg-gray);
}

.security-section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.security-section {
    padding: 100px 0;
    background: white;
}

.security-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.security-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 24px;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.security-feature {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.security-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.security-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.security-feature h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.security-feature p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Founder Section */
.founder-section {
    padding: 100px 0;
    background: var(--bg-gray);
    text-align: center;
}

.founder-text {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 1400px;
    margin: 0 auto;
}

/* Ethics Section */
.ethics-section {
    padding: 100px 0;
    background: white;
}

.ethics-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
}

.ethics-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.ethics-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.ethics-feature {
    text-align: center;
}

.ethics-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.ethics-feature h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ethics-feature p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Cybersecurity Section */
.cybersecurity-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

.cybersecurity-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 60px;
}

.cybersecurity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto;
}

.cybersecurity-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.cybersecurity-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cybersecurity-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Security FAQ Section */
.security-faq {
    padding: 100px 0;
    background: white;
}

.faq-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: white;
}

/* Demo Modal */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.demo-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
}

/* Responsive Design */
@media (min-width: 1600px) {
    .container {
        padding: 0 120px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    .hero-headline {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links > a:not(.btn-secondary-small),
    .nav-dropdown {
        display: none;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 48px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .hero-image {
        margin-top: 32px;
    }

    .product-screenshot {
        max-width: 100%;
    }

    .hero-chat {
        margin: 48px auto;
    }

    .hero-image-section {
        padding: 60px 0;
    }

    .product-screenshot {
        border-radius: 12px;
    }

    .message-bubble {
        max-width: 85%;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-number {
        margin: 0 auto;
    }

    .feature-chat-container {
        padding: 16px;
    }

    .feature-message-bubble {
        max-width: 85%;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-badges {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 32px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-image {
        margin-top: 24px;
    }

    .hero-chat {
        margin: 32px auto;
    }

    .hero-image-section {
        padding: 40px 0;
    }

    .product-screenshot {
        border-radius: 8px;
    }

    .message-bubble {
        max-width: 90%;
        padding: 12px 16px;
    }

    .message-bubble p {
        font-size: 14px;
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 24px;
    }
}
