/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Utility classes */
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-16 { padding-top: 4rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-600 { color: #4b5563; }
.text-slate-800 { color: #1e293b; }
.text-blue-500 { color: #3b82f6; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

/* Layout utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.min-h-screen { min-height: 100vh; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* Background colors */
.bg-white { background-color: #ffffff; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0)); }
.to-blue-50 { --tw-gradient-to: #eff6ff; }

/* Logo styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    width: 240px;
    height: auto;
    max-height: 72px;
    filter: brightness(0) invert(1); /* Makes the logo white */
}

/* Glass effect */
.glass-effect {
    background: rgba(16, 45, 86, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Header styles */
.header {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header h1 {
    margin: 0;
    display: flex;
    align-items: center;
}

.header h1 a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
}

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

.nav-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* Button styles */
.btn-primary {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    min-width: 200px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
}

/* Floating elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

/* Text gradient */
.text-gradient {
    color: #3b82f6 !important;
    font-weight: 700;
}

/* Ensure the gradient works even with conflicting styles */
.hero-title .text-gradient {
    color: #3b82f6 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Pulse glow animation */
.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4); 
    }
    50% { 
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6); 
    }
    100% { 
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4); 
    }
}

/* Section styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

/* Features section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 0.75rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: white;
    filter: brightness(0) invert(1); /* Makes the icon white */
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4b5563;
}

/* Use cases */
.use-cases {
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
    border-radius: 1.5rem;
    padding: 3rem;
}

.use-cases h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.use-case-emoji {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.use-case-card h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.use-case-card p {
    font-size: 0.875rem;
    color: #4b5563;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: #3b82f6;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step p {
    color: #d1d5db;
}

/* Testimonial */
.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.testimonial-image {
    flex-shrink: 0;
}

.profile-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    flex: 1;
    text-align: left;
}

.testimonial-text blockquote {
    font-size: 1.25rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #1e293b;
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-institution {
    color: #3b82f6;
}

/* Demo request */
.demo-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.demo-content h2 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.demo-content p {
    font-size: 1.5rem;
    color: #d1d5db;
    line-height: 1.6;
}

.email-link {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #93c5fd;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 2rem 1rem;
}

.copyright-text {
    color: #9CA3AF;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive footer layout */
@media (max-width: 640px) {
    .footer .flex {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .gap-6 {
        gap: 1.5rem;
        margin-top: 1rem;
    }
}

@media (min-width: 641px) {
    .footer .flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Responsive design */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 2rem;
    }
    
    .testimonial-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 775px) {
    .nav-links-hidden {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .demo-content h2 {
        font-size: 2.5rem;
    }
    
    .demo-content p {
        font-size: 1.25rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Legal page styles */
main {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 2rem 1rem;
}

main .container {
    max-width: 48rem;
    margin: 0 auto;
}

main h1 {
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

main .bg-white {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

main .bg-white p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #374151;
}

main .bg-white h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

main .bg-white ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

main .bg-white li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #374151;
}

main .bg-white hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

main .bg-white a {
    color: #2563eb;
    text-decoration: none;
}

main .bg-white a:hover {
    text-decoration: underline;
}

main .bg-white strong {
    color: #1f2937;
    font-weight: 600;
}

main .bg-white .font-medium {
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Back navigation styles */
.back-nav {
    padding: 1rem 1.5rem;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #374151;
}

.back-arrow {
    width: 1rem;
    height: 1rem;
    color: #6b7280;
}
