/* Using a more modern approach by defining custom properties for theming */
:root {
    --color-primary: #2563EB; /* Blue-600 */
    --color-primary-hover: #1D4ED8; /* Blue-700 */
    --color-secondary: #FBBF24; /* Amber-400 */
    --color-text-dark: #111827; /* Gray-900 */
    --color-text-medium: #4B5563; /* Gray-600 */
    --color-text-light: #F9FAFB; /* Gray-50 */
    --color-bg-light: #FFFFFF;
    --color-bg-offwhite: #F9FAFB;
    --color-border: #E5E7EB; /* Gray-200 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero section background with a subtle radial gradient */
.hero-bg {
    position: relative;
    overflow: hidden;
    background-color: #f9fafb;
    background-image: radial-gradient(circle at 10% 20%, rgb(219, 234, 254), rgba(219, 234, 254, 0) 25%), 
                      radial-gradient(circle at 80% 70%, rgb(224, 231, 255), rgba(224, 231, 255, 0) 25%);
}

main {
    position: relative;
    z-index: 1;
}

/* General Button Styles */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    border-color: var(--color-border);
}
.btn-secondary:hover {
    background-color: var(--color-bg-offwhite);
    border-color: #D1D5DB;
}

/* Animation for elements on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header Styles */
.section-header {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section-title {
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.025em;
}
.section-subtitle {
    color: var(--color-text-medium);
}

/* AI Demo Section Styles */
.demo-step {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.demo-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--color-border);
}
.demo-card.active {
    border-color: var(--color-primary);
    background-color: #EFF6FF; /* blue-50 */
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -4px rgba(37, 99, 235, 0.1);
}
.vibe-tag {
     transition: all 0.3s ease-in-out;
}
.vibe-tag.active {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.spinner {
    animation: spin 1s linear infinite;
}
