/* Universal CSS for all Dyson pages - Complete styling */

/* 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;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.nav-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Buttons */
.bg-blue-600 {
    background-color: #2563eb !important;
}

.bg-blue-600:hover {
    background-color: #1d4ed8 !important;
}

.bg-purple-600 {
    background-color: #9333ea !important;
}

.bg-purple-600:hover {
    background-color: #7c3aed !important;
}

.bg-green-600 {
    background-color: #16a34a !important;
}

.bg-green-600:hover {
    background-color: #15803d !important;
}

.bg-red-600 {
    background-color: #dc2626 !important;
}

.bg-red-600:hover {
    background-color: #b91c1c !important;
}

/* Background colors */
.bg-black {
    background-color: #000000 !important;
}

.bg-gray-900 {
    background-color: #111827 !important;
}

.bg-gray-800 {
    background-color: #1f2937 !important;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Text colors */
.text-white {
    color: #ffffff !important;
}

.text-gray-300 {
    color: #d1d5db !important;
}

.text-gray-400 {
    color: #9ca3af !important;
}

.text-blue-400 {
    color: #60a5fa !important;
}

.text-purple-400 {
    color: #a78bfa !important;
}

.text-green-400 {
    color: #4ade80 !important;
}

.text-red-400 {
    color: #f87171 !important;
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important;
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6 !important;
}

.to-purple-600 {
    --tw-gradient-to: #9333ea !important;
}

.bg-gradient-to-r.from-blue-500.to-purple-600 {
    background: linear-gradient(to right, #3b82f6, #9333ea) !important;
}

.bg-clip-text {
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.text-transparent {
    color: transparent !important;
}

/* Layout */
.fixed {
    position: fixed !important;
}

.w-full {
    width: 100% !important;
}

.h-20 {
    height: 5rem !important;
}

.h-10 {
    height: 2.5rem !important;
}

.w-10 {
    width: 2.5rem !important;
}

.max-w-4xl {
    max-width: 56rem !important;
}

.max-w-6xl {
    max-width: 72rem !important;
}

.max-w-7xl {
    max-width: 80rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Flexbox */
.flex {
    display: flex !important;
}

.items-center {
    align-items: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-center {
    justify-content: center !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

/* Grid */
.grid {
    display: grid !important;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.md\:grid-cols-2 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.md\:grid-cols-3 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Spacing */
.p-4 {
    padding: 1rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

.p-8 {
    padding: 2rem !important;
}

.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-6 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.pt-32 {
    padding-top: 8rem !important;
}

.pb-20 {
    padding-bottom: 5rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mb-12 {
    margin-bottom: 3rem !important;
}

.space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

.space-y-3 > * + * {
    margin-top: 0.75rem !important;
}

.space-y-4 > * + * {
    margin-top: 1rem !important;
}

.space-y-8 > * + * {
    margin-top: 2rem !important;
}

/* Typography */
.text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

.text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

.text-5xl {
    font-size: 3rem !important;
    line-height: 1 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

/* Borders */
.border {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #374151 !important;
}

.border-b {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-bottom-color: #374151 !important;
}

.border-gray-800 {
    border-color: #374151 !important;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* Effects */
.backdrop-blur-sm {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.hover\:text-white:hover {
    color: #ffffff !important;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important;
}

.hover\:bg-purple-700:hover {
    background-color: #7c3aed !important;
}

.hover\:bg-green-700:hover {
    background-color: #15803d !important;
}

.hover\:bg-red-700:hover {
    background-color: #b91c1c !important;
}

.hover\:bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Z-index */
.z-50 {
    z-index: 50 !important;
}

.top-0 {
    top: 0px !important;
}

/* Position */
.relative {
    position: relative !important;
}

.min-h-screen {
    min-height: 100vh !important;
}

/* Width */
.w-2 {
    width: 0.5rem !important;
}

.w-1 {
    width: 0.25rem !important;
}

.w-1\.5 {
    width: 0.375rem !important;
}

.w-2\.h-2 {
    width: 0.5rem !important;
    height: 0.5rem !important;
}

.w-1\.h-1 {
    width: 0.25rem !important;
    height: 0.25rem !important;
}

.w-1\.5\.h-1\.5 {
    width: 0.375rem !important;
    height: 0.375rem !important;
}

/* Animations */
.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite !important;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Display */
.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.inline-flex {
    display: inline-flex !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .md\:flex {
        display: none !important;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }
}

/* Cursor */
.pointer-events-none {
    pointer-events: none !important;
}

/* Opacity */
.opacity-5 {
    opacity: 0.05 !important;
}

/* Transforms */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

.hover\:scale-105:hover {
    --tw-scale-x: 1.05 !important;
    --tw-scale-y: 1.05 !important;
}

/* Shadow */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Specific page styles */
main {
    padding-top: 5rem;
}

/* FAQ styles */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    cursor: pointer;
}

.faq-answer {
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1f2937;
    padding: 2rem;
    border-radius: 0.75rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid #374151;
}

/* Form styles */
input, textarea {
    background: #1f2937;
    border: 1px solid #374151;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Links */
a {
    color: #60a5fa;
    text-decoration: none;
}

a:hover {
    color: #3b82f6;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lists */
ul {
    list-style: none;
}

/* Footer */
footer {
    border-top: 1px solid #374151;
}

/* Utility */
.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.bg-gray-900\/50 {
    background-color: rgba(17, 24, 39, 0.5) !important;
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5) !important;
}
