/* Custom Styles for Nexzoneo */

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Button Styles */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #14b8a6;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #0d9488;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #14b8a6;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid #14b8a6;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: rgba(20, 184, 166, 0.1);
}

/* Background Grid Pattern */
.bg-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Better scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Form Input Styles */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #ffffff;
    color: #374151;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    background-color: #ffffff;
    color: #1f2937;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder,
select::placeholder {
    color: #9ca3af;
}

select {
    color: #6b7280;
}

select:focus {
    color: #1f2937;
}

input.error,
textarea.error,
select.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success Message */
.success-message {
    background-color: #064e3b;
    border: 1px solid #14b8a6;
    color: #5eead4;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #374151;
    border-top: 3px solid #14b8a6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

.animate-pulse {
    animation: pulse 4s ease-in-out infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Mobile Menu */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Prose Styling for Privacy Policy */
.prose h1 {
    line-height: 1.2;
}

.prose h2 {
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    line-height: 1.75;
}

.prose ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.prose a {
    text-decoration: underline;
}

.prose a:hover {
    opacity: 0.8;
}

