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

:root {
    --primary-color: #2c2c2c;
    --accent-color: #d63384;
    --accent-light: #e91e8c;
    --text-light: #666;
    --background: #fafafa;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background);
}

/* Header */
header {
    background: rgba(214, 51, 132, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(214, 51, 132, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset,
                0 8px 32px rgba(214, 51, 132, 0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 140px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Language Selector */
.language-selector select {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-selector select:hover {
    border-color: var(--accent-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(214, 51, 132, 0.1);
}

/* Breadcrumb Navigation */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb li {
    margin: 0;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.cta-button, .submit-button, .select-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.submit-button {
    display: block;
    margin: 0 auto;
}

.cta-button:hover, .submit-button:hover, .select-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
    font-weight: 300;
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
    background: var(--background);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.pricing-card.popular {
    border-color: var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.delivery {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.pricing-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    flex-grow: 1;
}

/* Order Form */
.order-form {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    max-width: 800px;
    margin: 0 auto;
}

.order-form h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Form Container */
#song-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(214, 51, 132, 0.05);
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

/* Modern Labels */
label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
}

label::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 4px;
    opacity: 0.7;
}

/* Remove asterisks from optional fields */
label[for="specific-message"]::after,
label[for="photo-upload"]::after,
label[for="genre"]::after {
    content: '';
}

/* Modern Input Styling */
input[type="text"], 
input[type="email"], 
input[type="file"],
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f0f0f0;
    background: var(--white);
    font-size: 1rem;
    font-family: inherit;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    position: relative;
}

/* File input specific styling */
input[type="file"] {
    padding: 0.75rem 1rem;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-right: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--accent-light);
}

.file-info {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

input[type="text"]:hover, 
input[type="email"]:hover, 
input[type="file"]:hover,
textarea:hover {
    border-color: rgba(214, 51, 132, 0.3);
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.08);
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="file"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.1), 0 8px 24px rgba(214, 51, 132, 0.15);
    transform: translateY(-1px);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #a0a0a0;
    font-weight: 300;
}

/* Textarea Specific */
textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Selected Plan Styling */
.selected-plan {
    background: var(--background);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.selected-plan p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Form Grid Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .order-form {
        padding: 2rem 1rem;
    }
    
    #song-form {
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

/* Sample Songs Section */
.samples {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.samples h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.samples-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.sample-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.sample-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(214, 51, 132, 0.1);
}

.sample-art {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sample-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.sample-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.sample-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem !important;
}

.sample-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.sample-button:hover {
    background: var(--accent-light);
    transform: scale(1.05);
}

/* Landing Page Content Sections */
.anniversary-content,
.proposal-content,
.wedding-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: var(--background);
}

.content-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.anniversary-ideas,
.proposal-ideas,
.song-types {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--background);
}

.year-ideas,
.idea-grid,
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.year-item,
.idea-item,
.type-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.year-item h3,
.idea-item h3,
.type-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.proposal-tips,
.wedding-timeline,
.wedding-tips {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tips-container,
.timeline-container,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-item,
.timeline-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.tip-item h3,
.timeline-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.wedding-ideas {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.ideas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.idea-category {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
}

.idea-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.idea-category ul {
    list-style: none;
    padding: 0;
}

.idea-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.idea-category li:last-child {
    border-bottom: none;
}

.success-stories {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--background);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.story-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
}

.story-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.story-author {
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
    display: block;
}

.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-button-large {
    background: var(--white);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sample-card.featured {
    border: 2px solid var(--accent-color);
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.faq-item h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Trust Section */
.trust {
    padding: 3rem 2rem;
    background: var(--background);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-weight: 300;
    text-align: center;
}

.check-mark {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 500;
}

.trust-text {
    text-align: left;
}

.trust-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1.6;
}

.note-small {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

footer p {
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.125rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
    }
}

/* Choices.js Custom Styling */
.choices {
    margin-bottom: 0;
    font-size: 16px;
}

.choices__inner {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    min-height: 48px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.choices__inner:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 8px rgba(214, 51, 132, 0.1);
}

.choices.is-focused .choices__inner {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
}

.choices__placeholder {
    color: var(--text-light);
    opacity: 1;
}

.choices__list--single .choices__item {
    color: var(--primary-color);
    font-weight: 400;
}

.choices__list--dropdown {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-top: 4px;
    z-index: 10;
}

.choices__item--choice {
    padding: 12px 16px;
    color: var(--primary-color);
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.choices__item--choice:last-child {
    border-bottom: none;
}

.choices__item--choice.is-highlighted {
    background-color: rgba(214, 51, 132, 0.08);
    color: var(--accent-color);
}

.choices__item--choice:hover {
    background-color: rgba(214, 51, 132, 0.05);
}

/* Language selector specific styling */
.language-selector .choices__inner {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    min-width: 200px;
    width: 200px;
}

.language-selector .choices__list--dropdown {
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 200px;
    width: 200px;
    white-space: nowrap;
}

.language-selector .choices__item--choice {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form select styling */
.form-group .choices {
    width: 100%;
}

.form-group .choices__inner {
    width: 100%;
}

/* Custom arrow for dropdowns */
.choices[data-type*="select-one"]::after {
    border-color: var(--text-light) transparent transparent transparent;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    content: "";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    transition: transform 0.2s ease;
}

.choices.is-open[data-type*="select-one"]::after {
    transform: translateY(-50%) rotate(180deg);
    border-color: var(--accent-color) transparent transparent transparent;
}

/* Remove default arrow */
.choices__inner {
    position: relative;
}

/* Animation for dropdown opening */
.choices__list--dropdown {
    animation: choicesSlideDown 0.2s ease;
}

@keyframes choicesSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}