/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(to bottom, #111827, #1f2937);
}

/* Text gradient utility */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Gradient for logo/title */
.bg-gradient-to-r.from-blue-400.to-purple-500 {
    background-image: linear-gradient(to right, #3b82f6, #a855f7);
}

/* Container spacing */
.max-w-6xl {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

/* Padding and margin utilities */
.py-6 {padding-top: 1.5rem; padding-bottom: 1.5rem;}
.px-4 {padding-left: 1rem; padding-right: 1rem;}
.sm\:px-6 {padding-left: 1.5rem; padding-right: 1.5rem;}
.lg\:px-8 {padding-left: 2rem; padding-right: 2rem;}

/* Border utilities */
.border-b {border-bottom-width: 1px;}
.border {border-width: 1px;}
.border-gray-700 {border-color: #374151;}

/* Flexbox and grid utilities */
.flex {display: flex;}
.justify-between {justify-content: space-between;}
.items-center {align-items: center;}
.grid {display: grid;}
.grid-cols-1 {grid-template-columns: repeat(1, minmax(0, 1fr));}
.md\:grid-cols-3 {grid-template-columns: repeat(3, minmax(0, 1fr));}
.gap-8 {gap: 2rem;}

/* Shadows */
.shadow-lg {box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);}
.hover\:shadow-xl:hover {box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);}

/* Transitions */
.transition-colors {transition-property: color, background-color, border-color, fill, stroke;}
.transition-all {transition: all 0.2s ease-in-out;}

/* Hover effects */
.hover\:text-blue-400:hover {color: #60a5fa;}

/* Transformations */
.transform {transform: translate(0, 0);}
.hover\:scale-\[1\.02\]:hover {transform: scale(1.02);}

/* Focus ring */
.focus\:outline-none:focus {outline: none;}
.focus\:ring-2:focus {--tw-ring-width: 2px; outline: var(--tw-ring-width) solid transparent; outline-offset: var(--tw-ring-offset-width);}
.focus\:ring-offset-2:focus {--tw-ring-offset-width: 2px;}
.focus\:ring-blue-500:focus {--tw-ring-color: #60a5fa;}

/* Hidden element */
.hidden {display: none;}

/* Buttons */
button {
    cursor: pointer;
    font-weight: 600;
    border-radius: 0.375rem;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Button variants */
.bg-gradient-to-r.from-blue-600.to-purple-600 {
    background-image: linear-gradient(to right, #2563eb, #7c3aed);
}

.bg-gradient-to-r.from-blue-700.to-purple-700:hover {
    background-image: linear-gradient(to right, #1d4ed8, #6d28d9);
}

/* Input */
input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: #374151;
    border: 1px solid #4b5563;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input::placeholder {
    color: #6b7280;
}

/* Card components */
.feature-card, .step-card {
    background-color: #1f2937;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #374151;
    transition: transform 0.2s ease-in-out;
}

.feature-card:hover, .step-card:hover {
    transform: translateY(-5px);
}

/* SVG Icons */
.h-8.w-8 {
    height: 2rem;
    width: 2rem;
}

.h-5.w-5 {
    height: 1.25rem;
    width: 1.25rem;
}

.ml-2, .mr-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Navigation */
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 1rem;
}

/* Grid layout for style buttons */
.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gap-3 {
    gap: 0.75rem;
}

/* Active style button */
.style-button.active {
    background-color: #2563eb;
    color: #fff;
}

/* Loading animation */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {opacity: 1;}
    50% {opacity: 0.5;}
}

/* Responsive design */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 1rem;
    }
}

@media (min-width: 640px) {
    .sm\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-extrabold {
    font-weight: 800;
}

.leading-tight {
    line-height: 1.25;
}

.text-center {
    text-align: center;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.object-cover {
    object-fit: cover;
}

/* Custom loading spinner */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-75 {
    opacity: 0.75;
}

/* Download and refresh buttons */
.bg-green-600 {
    background-color: #16a34a;
}

.bg-green-600:hover {
    background-color: #15803d;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-600:hover {
    background-color: #1d4ed8;
}

/* Social icons */
.footer-social-icon {
    color: #6b7280;
    transition: color 0.2s ease-in-out;
}

.footer-social-icon:hover {
    color: #60a5fa;
}

/* Hide elements when needed */
.hidden {
    display: none;
}

/* Main container */
.min-h-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Footer */
.bg-gray-900 {
    background-color: #0f172a;
}

.border-t {
    border-top-width: 1px;
}

/* Section titles */
.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Feature cards */
.feature-card .text-blue-500 {
    color: #3b82f6;
}

/* Step cards */
.step-card .w-12.h-12 {
    width: 3rem;
    height: 3rem;
}

.step-card .rounded-full {
    border-radius: 9999px;
}

.step-card .bg-blue-600 {
    background-color: #2563eb;
}

.step-card .text-xl.font-bold {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

/* Animation for feature cards */
.transition-shadow {
    transition-property: box-shadow;
    transition-duration: 0.15s;
    transition-timing-function: linear;
}

/* Text colors */
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }

/* Background colors */
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-900 { background-color: #0f172a; }

/* Border colors */
.border-gray-600 { border-color: #4b5563; }

/* Focus ring colors */
.focus\:ring-offset-blue-500:focus { --tw-ring-offset-color: #3b82f6; }

/* Disabled button styling */
.disabled\:bg-gray-600:disabled {
    background-color: #71717a;
    cursor: not-allowed;
}