/* Tailwind CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm song generation theme colors */
    --coral: #FF6363;
    --peach: #FFA987;
    --cream: #FFF8F6;
    --charcoal: #2E2E2E;
    --lemon: #FFEAA7;
    --background: #FFF8F6;
    --foreground: #2E2E2E;
    --muted-foreground: #6B7280;
    --border: #E5E7EB;
    --card: #FFFFFF;
    --card-foreground: #2E2E2E;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 { font-size: 3rem; font-weight: bold; line-height: 1.2; text-transform: capitalize;}
h2 { font-size: 2.5rem; font-weight: bold; text-transform: capitalize;}
h3 { font-size: 1.25rem; font-weight: 600; text-transform: capitalize;}
p { font-size: 1rem; }

@media (min-width: 1024px) {
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3rem; }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-coral { color: var(--coral); }
.text-peach { color: var(--peach); }
.text-charcoal { color: var(--charcoal); }
.text-muted { color: var(--muted-foreground); }
.bg-coral { background-color: var(--coral); }
.bg-card { background-color: var(--card); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.py-20 { padding: 5rem 0; }
.px-4 { padding: 0 1rem; }
.p-6 { padding: 1.5rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\\:flex-row { flex-direction: row; }
}

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

@media (min-width: 1024px) {
    .lg\\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\\:py-32 { padding: 8rem 0; }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--background) 50%, rgba(255, 234, 167, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 1rem;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 8rem 1rem;
    }
}

/* Icons */
.icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
}

.icon-lg {
    width: 4rem;
    height: 4rem;
}

.icon-music {
    color: var(--coral);
    animation: pulse 2s infinite;
}

.icon-sparkles {
    color: var(--peach);
    animation: bounce 1s infinite;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--coral);
    color: white;
}

.btn-primary:hover {
    background-color: #e55555;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(255, 99, 99, 0.25);
}

.btn-secondary {
    background-color: white;
    color: var(--coral);
}

.btn-secondary:hover {
    background-color: #f9f9f9;
}

/* Cards */
.card {
    background: var(--card);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 169, 135, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 99, 99, 0.5);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.form-textarea {
    min-height: 8rem;
    resize: vertical;
}

/* Number circles */
.number-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.number-circle-1 {
    background: rgba(255, 99, 99, 0.1);
    color: var(--coral);
}

.number-circle-2 {
    background: rgba(255, 169, 135, 0.1);
    color: var(--peach);
}

.number-circle-3 {
    background: rgba(255, 234, 167, 0.2);
    color: var(--charcoal);
}

/* Stars */
.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1rem;
    height: 1rem;
    color: var(--lemon);
}

/* Use case cards */
.use-case-grid {
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 96rem;
}

@media (min-width: 640px) {
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-case-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.use-case-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 169, 135, 0.2);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.use-case-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

/* Section backgrounds */
.section-alt {
    background: rgba(255, 255, 255, 0.5);
}

.section-coral {
    background: var(--coral);
    color: white;
}

/* Form section */
.form-section {
    background: linear-gradient(135deg, rgba(255, 248, 246, 0.5) 0%, rgba(255, 234, 167, 0.1) 100%);
}

.form-card {
    max-width: 32rem;
    margin: 0 auto;
    background: var(--card);
    border-radius: 0.5rem;
    padding: 2rem;
    border: 2px solid rgba(255, 169, 135, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.badge {
    display: inline-block;
    background: var(--lemon);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Social proof icons */
.social-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hidden class for form */
.hidden {
    display: none !important;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 248, 246, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 169, 135, 0.2);
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--coral);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 169, 135, 0.2);
    padding: 1rem;
}

.mobile-menu .nav-link {
    padding: 0.5rem 0;
}

/* Hero background */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/pictures/pexels-photo-3355319.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 248, 246, 0.95) 0%, rgba(255, 248, 246, 0.9) 50%, rgba(255, 234, 167, 0.8) 100%);
}

.hero {
    padding-top: 4rem;
}

/* Responsive text sizes */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
}

.legalPage {
    padding-top: 6rem;
    margin-bottom: 5rem;
    ol, ul {
        padding-left: 2rem;
    }
    h1 {
        padding-top: 20px;
    }
    h2 {
        font-size: 20px;
        font-weight: 300;
        margin-top: 50px;
        margin-bottom: 10px;
    }
}

#request_agreeTerms_help {
    font-size: 14px;
    color: #888888;
}

.form-check-input.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
}
