:root {
    /* Ocean-inspired palette with warm coral accents */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --accent-color: #06b6d4;
    --accent-warm: #f59e0b;
    
    /* Sophisticated neutral backgrounds */
    --background-color: #fafafa;
    --background-secondary: #f4f4f5;
    --background-tertiary: #e4e4e7;
    --background-glass: rgba(255, 255, 255, 0.8);
    
    /* Text colors with perfect contrast */
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --text-inverse: #fafafa;
    
    /* Card and surface colors */
    --card-background: #ffffff;
    --card-hover: #f9fafb;
    --card-border: #e5e5e5;
    --border-color: #d4d4d8;
    --border-light: #e4e4e7;
    
    /* Visual system */
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    
    /* Enhanced shadows for depth */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Beautiful gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #fef3c7 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Preload critical resources */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::after {
        animation: none;
    }
}

.hero {
    background: var(--gradient-hero);
    padding: 120px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232563eb" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 30s ease-in-out infinite;
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 620px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Make only hero section buttons semi-transparent */
.hero .cta-buttons .btn {
    opacity: 0.7;
}

.hero .cta-buttons .btn:hover {
    opacity: 1;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1; /* keep overlay behind text */
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: var(--background-glass);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: var(--card-background);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

section {
    padding: 100px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-child(even) {
    background: var(--background-secondary);
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 40px;
    padding-right: 40px;
    max-width: none;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

section h2 + p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

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

.steps {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step, .feature {
    background: var(--gradient-card);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step::before, .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.step:hover::before, .feature:hover::before {
    opacity: 1;
}

.step:hover, .feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.step:hover::after, .feature:hover::after {
    opacity: 0.8;
}

.step::after, .feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.step h3, .feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 24px 0 16px;
    color: var(--text-primary);
}

.step p, .feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step img, .feature img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.2));
    transition: all 0.3s ease;
    opacity: 0.9;
}

.step:hover img, .feature:hover img {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
    opacity: 1;
}

.diff-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.point {
    text-align: left;
    padding: 32px;
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.point:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--accent-color);
}

.point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.point:hover::before {
    opacity: 1;
}

.point h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.point p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

#cta {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

#cta h2 {
    color: var(--text-inverse);
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#cta .cta-buttons {
    position: relative;
    z-index: 2;
}

#cta .btn-primary {
    background: var(--text-inverse);
    color: var(--primary-color);
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
}

#cta .btn-primary:hover {
    background: var(--background-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

#cta .btn-primary::after {
    display: none;
}

#cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-inverse);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

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

footer {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-light);
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--accent-color);
    background: var(--card-background);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Intersection observer classes for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }
.feature:nth-child(5) { animation-delay: 0.5s; }
.feature:nth-child(6) { animation-delay: 0.6s; }

/* Loading state for images */
.step img, .feature img {
    transition: all 0.3s ease, opacity 0.5s ease;
}

.step img.loading, .feature img.loading {
    opacity: 0.5;
    filter: blur(2px);
}

/* Enhanced button interactions */
.btn {
    transform-origin: center;
}

.btn:active {
    transform: scale(0.98);
}

/* Responsive grid improvements */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    section {
        padding: 60px 20px;
    }
    
    section:nth-child(even) {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    section h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 40px;
    }
    
    .steps, .features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step, .feature {
        padding: 32px 24px;
    }
    
    .diff-points {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .point {
        padding: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px 40px;
    }
    
    section {
        padding: 50px 16px;
    }
    
    section:nth-child(even) {
        padding-left: 16px;
        padding-right: 16px;
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .step, .feature {
        padding: 24px 20px;
    }
    
    .point {
        padding: 20px;
    }
}

/* Print styles */
@media print {
    .hero {
        background: none !important;
        color: #000 !important;
    }
    
    .btn {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Navbar Styles */
.navbar {
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.navbar-brand .logo {
    height: 32px; /* Matches the SVG height */
    width: auto;
}
/* Use Cases / FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
    border-top: 1px solid var(--border-light);
    text-align: left; /* Align text within the FAQ container to the left */
}

.faq-item {
    background: var(--card-background);
    border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 24px;
    cursor: pointer;
    outline: none;
    position: relative;
    list-style: none; /* Remove default marker */
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Chrome/Safari */
}

.faq-item summary::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.faq-item[open] {
    background: var(--background-secondary);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-content p {
    margin: 0 0 16px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-content em {
    font-style: italic;
    color: var(--text-muted);
}

/* Contact Page Styles */
.contact-hero {
    min-height: 50vh;
    padding: 100px 20px 80px;
    background-position: center calc(100% + 170px); /* nudge image down slightly on contact page (desktop) */
}

.contact-section {
    padding: 80px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    padding: 60px 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--card-border);
    text-align: center;
}

.contact-card h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--card-background);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--background-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form button.btn-primary {
    width: 100%;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
}

.contact-form button.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.contact-form button.btn-primary:hover::before {
    left: 100%;
}

.contact-form button.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-form button.btn-primary > span {
    position: relative;
    z-index: 2;
}

.contact-form button.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.contact-form button.btn-primary:hover::after {
    opacity: 1;
}

.contact-form button.btn-primary:active {
    transform: scale(0.98);
}

.contact-note {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.contact-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-note a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 40vh;
        padding: 80px 20px 60px;
        background-position: center calc(100% + 70px); /* mobile nudge */
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-card {
        padding: 40px 28px;
    }

    .contact-card h2 {
        font-size: 1.8rem;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 32px 20px;
        border-radius: var(--border-radius);
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
    }
}
