/* AgentMap Marketing Site - Custom Styles */
/* Tailwind CSS is loaded via CDN, these are additional custom styles */
/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}
/* Ensure proper line height for readability */
body {
    line-height: 1.6;
}
/* Custom focus styles for accessibility */
*:focus {
    outline: 2px solid #14B8A6;
    outline-offset: 2px;
}
/* Skip to main content link (for accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #14B8A6;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}
/* Custom animations for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 0.6s ease-out;
}
/* Improve form input focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #14B8A6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
/* Custom scrollbar styling (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
    background: #14B8A6;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}
/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}
/* Loading state styles */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
/* Custom button hover effects */
.btn-hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #14B8A6 0%, #0F172A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Hero section background pattern (optional) */
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 23, 42, 0.05) 0%, transparent 50%);
}
/* Pricing card highlight pulse effect */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}
.popular-badge {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Testimonial card styling */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
}
/* Feature icon container */
.feature-icon {
    transition: transform 0.3s ease;
}
.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}
/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu:not(.hidden) {
    max-height: 500px;
}
/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}
/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        --tw-text-opacity: 1;
    }

    button, a {
        outline: 2px solid currentColor;
    }
}
/* Dark mode support (optional - for future implementation) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}
/* Loading spinner utility class */
.spinner {
    border: 3px solid rgba(20, 184, 166, 0.3);
    border-top: 3px solid #14B8A6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.5s ease;
}
/* Error message styling */
.error-message {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.5s ease;
}
/* Custom checkbox styling */
input[type="checkbox"] {
    accent-color: #14B8A6;
}
/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* Utility: Text shadow for better readability on images */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Utility: Backdrop blur for modern glass effect */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}
/* HubSpot form custom styling */
.hs-form-field {
    margin-bottom: 1.5rem;
}
.hs-form-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}
.hs-form-field input[type="text"],
.hs-form-field input[type="email"],
.hs-form-field input[type="tel"],
.hs-form-field textarea,
.hs-form-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    font-size: 1rem;
}
.hs-submit input[type="submit"] {
    background-color: #14B8A6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    width: 100%;
}
.hs-submit input[type="submit"]:hover {
    background-color: #0F766E;
}
/* Schema.org structured data is invisible */
script[type="application/ld+json"] {
    display: none;
}
/* Ensure footer stays at bottom on short pages */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
