/* Tea Wizard Consolidated Styles */

/* ============================================
   ONBOARDING STYLES
   ============================================ */
.onboarding-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 20px;
}

.onboarding-content {
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.onboarding-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: tea-steam 4s ease-in-out infinite;
}

@keyframes tea-steam {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.onboarding-content h1 {
    font-size: 32px;
    color: #4A7C59;
    margin-bottom: 10px;
}

.onboarding-tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.benefits-list {
    text-align: left;
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5faf7;
    border-radius: 12px;
}

.benefit-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.btn-primary {
    background-color: #4A7C59;
    color: white;
    font-size: 18px;
    padding: 15px 40px;
    margin-top: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a6449;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
}

.privacy-note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* ============================================
   WIZARD CONTAINER AND PROGRESS
   ============================================ */
.tea-wizard-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 5%);
    min-height: 600px;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px 10px;
    background: linear-gradient(to bottom, #f8fdf9, white);
    border-bottom: 1px solid rgb(74 124 89 / 10%);
    position: relative;
    z-index: 10;
}

.wizard-step-indicator {
    flex: 1;
    position: relative;
    text-align: center;
}

.wizard-step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.wizard-step-indicator:last-child::before {
    display: none;
}

.wizard-step-indicator.active::before,
.wizard-step-indicator.completed::before {
    background: #4a7c59;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wizard-step-indicator.active .step-circle {
    background: #4a7c59;
    color: white;
    transform: scale(1.1);
}

.wizard-step-indicator.completed .step-circle {
    background: #4a7c59;
    color: white;
}

.step-label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.wizard-step-indicator.active .step-label {
    color: #4a7c59;
    font-weight: 600;
}

/* ============================================
   WIZARD PAGES CONTAINER
   ============================================ */
.wizard-pages {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.wizard-pages-wrapper {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.wizard-page {
    width: 25%;
    padding: 30px;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wizard-page.active {
    opacity: 1;
    pointer-events: auto;
}

/* Page transitions */
.wizard-pages-wrapper.step-1 { transform: translateX(0); }
.wizard-pages-wrapper.step-2 { transform: translateX(-25%); }
.wizard-pages-wrapper.step-3 { transform: translateX(-50%); }
.wizard-pages-wrapper.step-4 { transform: translateX(-75%); }

/* ============================================
   TEA SELECTION CONTAINER
   ============================================ */
.tea-selection-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.tea-selection-container h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

/* ============================================
   TEA TYPE GRID
   ============================================ */
.tea-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.tea-type-btn {
    padding: 1.25rem 0.75rem;
    border: 2px solid transparent;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tea-type-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgb(74 124 89 / 15%);
    border-color: #4a7c59;
}

.tea-type-btn.selected {
    border-color: #4a7c59;
    background: linear-gradient(to bottom, #f8fdf9, white);
}

.tea-type-icon {
    font-size: 1.75rem;
}

.tea-type-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e4f3b;
}

.tea-type-temp {
    font-size: 0.75rem;
    color: #666;
}

/* ============================================
   PAGE - TEA TYPE SELECTION
   ============================================ */
.page-tea-type {
    width: 100%;
}

.page-tea-type h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #2e4f3b;
    text-align: center;
    width: 100%;
}

/* ============================================
   PAGE - TEA NAME SELECTION
   ============================================ */
.page-tea-name {
    width: 100%;
}

.page-tea-name h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2e4f3b;
    text-align: center;
}

.tea-name-selection {
    display: none;
    animation: slide-in 0.3s ease;
}

.tea-name-selection.active {
    display: block;
}

.tea-name-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
    max-width: 800px;
    margin: 0 auto;
}

.tea-name-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tea-name-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.selected-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    background: linear-gradient(to right, #4a7c59, #5d8a60);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   PREVIOUS TEAS SECTION
   ============================================ */
.previous-teas-section {
    margin-bottom: 2rem;
    width: 100%;
    padding: 1rem;
    background: #f8fdf9;
    border-radius: 12px;
}

.previous-teas-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4a7c59;
    margin-bottom: 0.75rem;
    display: block;
}

.previous-teas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.previous-tea-card {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.previous-tea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
    border-color: #4a7c59;
}

.previous-tea-card.selected {
    border-color: #4a7c59;
    background: linear-gradient(to bottom, #f8fdf9, white);
}

.tea-card-info {
    flex: 1;
}

.tea-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e4f3b;
    margin-bottom: 0.25rem;
}

.tea-card-details {
    font-size: 0.7rem;
    color: #666;
    display: flex;
    gap: 1rem;
}

.tea-card-rating {
    font-size: 1.25rem;
}

/* ============================================
   MANUAL ENTRY SECTION
   ============================================ */
.manual-entry-section {
    width: 100%;
    position: relative;
    margin-top: 2rem;
    padding-top: 2rem;
}

.divider-or {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 1rem 0;
    position: relative;
}

.divider-or::before,
.divider-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}

.divider-or::before {
    left: 0;
}

.divider-or::after {
    right: 0;
}

.manual-tea-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.manual-tea-input:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgb(74 124 89 / 10%);
}

.manual-tea-input::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   NO PREVIOUS TEAS STATE
   ============================================ */
.no-previous-teas {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-previous-teas-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================
   TEA NAME SECTION
   ============================================ */
.tea-name-section {
    margin-top: 30px;
}

.tea-name-section label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.tea-select-wrapper {
    position: relative;
    display: flex;
}

#tea-name {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
    padding-right: 56px;
}

#tea-name:focus {
    border-color: #4A7C59;
    outline: none;
}

.tea-dropdown-toggle {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 48px;
    min-width: 48px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    background: none;
    border: none;
    padding: 10px;
    color: #666;
}

/* ============================================
   QUICK STEEP SECTION
   ============================================ */
.quick-steep-section {
    margin-bottom: 20px;
}

.quick-steep-btn {
    width: 100%;
    padding: 15px;
    background: #e8f3ec;
    border: 2px solid #4A7C59;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.quick-steep-btn:hover {
    background: #4A7C59;
    color: white;
}

.quick-steep-icon {
    font-size: 24px;
}

.quick-steep-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.quick-steep-text small {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   PAGE - BREW GUIDE
   ============================================ */
.page-brew-guide {
    width: 100%;
}

.brew-guide-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.brew-guide-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brew-guide-header h3 {
    font-size: 1.5rem;
    color: #2e4f3b;
    margin-bottom: 0.5rem;
}

.change-tea-btn {
    background: none;
    border: none;
    color: #4A7C59;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.selected-tea-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #f5faf7;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.selected-tea-type {
    padding: 4px 10px;
    background: #4a7c59;
    color: white;
    border-radius: 12px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.selected-tea-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e4f3b;
}

.brew-guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ============================================
   BREW PARAMETERS
   ============================================ */
.brew-parameters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 30px;
}

.brew-param {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fdf9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.param-icon {
    font-size: 1.5rem;
}

.param-info {
    flex: 1;
}

.param-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    display: block;
    margin-bottom: 0.25rem;
}

.param-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2e4f3b;
}

/* ============================================
   STEEPING TIMER
   ============================================ */
.steeping-timer {
    background: #4A7C59;
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.timer-display {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.timer-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.timer-btn {
    background: white;
    color: #4A7C59;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.timer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
}

/* ============================================
   PAGE - RATING
   ============================================ */
.page-rating {
    width: 100%;
}

.rating-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-header h3 {
    font-size: 1.75rem;
    color: #2e4f3b;
    margin-bottom: 1rem;
}

.rating-instruction {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-rating-section {
    margin-bottom: 20px;
}

.quick-rating-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.rating-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.rating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgb(74 124 89 / 15%);
    border-color: #4a7c59;
}

.rating-btn.selected {
    border-color: #4a7c59;
    background: linear-gradient(to bottom, #f8fdf9, white);
    box-shadow: 0 4px 12px rgb(74 124 89 / 20%);
}

.rating-emoji {
    font-size: 2rem;
}

.rating-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.rating-btn.selected .rating-label {
    color: #4a7c59;
    font-weight: 600;
}

/* ============================================
   NOTES SECTION
   ============================================ */
.optional-notes {
    margin-bottom: 20px;
    text-align: center;
}

.add-notes-btn {
    background: none;
    border: none;
    color: #4A7C59;
    cursor: pointer;
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 10px;
}

.notes-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.notes-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2e4f3b;
}

.notes-section textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    min-height: 100px;
}

.notes-section textarea:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgb(74 124 89 / 10%);
}

/* ============================================
   WIZARD NAVIGATION
   ============================================ */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.wizard-nav {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.wizard-nav-btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-back-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.wizard-back-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.wizard-next-btn {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.wizard-next-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(74 124 89 / 25%);
}

.wizard-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   LOG BUTTON
   ============================================ */
.log-tea-btn {
    width: 100%;
    background: #4A7C59;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.log-tea-btn:hover {
    background: #3a6449;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
}

.btn-icon {
    font-size: 20px;
}

/* ============================================
   RECENT SESSIONS
   ============================================ */
.recent-sessions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.recent-sessions h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.sessions-list {
    display: grid;
    gap: 15px;
}

/* ============================================
   AUTO-ADVANCE INDICATOR
   ============================================ */
.auto-advance-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auto-advance-indicator.show {
    opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes slide-in-from-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-from-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-to-left {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slide-out-to-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide-in-right {
    animation: slide-in-from-right 0.4s ease forwards;
}

.slide-in-left {
    animation: slide-in-from-left 0.4s ease forwards;
}

.slide-out-left {
    animation: slide-out-to-left 0.4s ease forwards;
}

.slide-out-right {
    animation: slide-out-to-right 0.4s ease forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile Responsive */
@media (max-width: 768px) {
    .onboarding-content {
        padding: 30px 20px;
    }
    
    .onboarding-icon {
        font-size: 60px;
    }
    
    .onboarding-content h1 {
        font-size: 28px;
    }
    
    .benefit-item {
        gap: 10px;
        padding: 12px;
    }
    
    .tea-wizard-container {
        border-radius: 0;
        min-height: calc(100vh - 80px);
    }
    
    .wizard-progress {
        padding: 15px 20px 10px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .wizard-page {
        padding: 20px;
    }
    
    .tea-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tea-type-btn {
        padding: 15px 10px;
    }
    
    .tea-type-icon {
        font-size: 28px;
    }
    
    .tea-type-name {
        font-size: 14px;
    }
    
    .brew-guide-content {
        grid-template-columns: 1fr;
    }
    
    .previous-teas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timer-display {
        font-size: 36px;
    }
    
    .steeping-timer {
        padding: 20px;
    }
    
    .rating-btn {
        padding: 10px;
    }
    
    .rating-emoji {
        font-size: 20px;
    }
    
    .tea-name-container {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .tea-name-header h2 {
        font-size: 1.375rem;
        line-height: 1.3;
    }
    
    .wizard-navigation {
        flex-direction: column-reverse;
    }
    
    .wizard-next-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .wizard-back-btn {
        width: 100%;
    }
}

/* Halftop Resolution Fixes */
@media (min-width: 960px) and (min-height: 900px) and (max-height: 1100px) {
    .onboarding-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 100px);
        padding: 20px;
    }
    
    .onboarding-content {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
        padding: 80px 80px 60px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgb(74 124 89 / 10%);
    }
    
    .onboarding-icon {
        font-size: 5rem;
        margin-bottom: 2.5rem;
    }
    
    .onboarding-content h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }
    
    .onboarding-tagline {
        font-size: 1.5rem;
        margin-bottom: 4rem;
        color: #666;
    }
    
    .benefit-item {
        margin-bottom: 2.5rem;
        padding: 1.5rem 0;
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .benefit-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }
    
    .benefit-item p {
        font-size: 1.125rem;
        line-height: 1.7;
        color: #666;
    }
    
    .onboarding-content .btn-primary {
        padding: 1.25rem 3rem;
        font-size: 1.25rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .privacy-note {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .tea-name-container {
        max-width: 900px;
        padding: 3rem;
    }
    
    .tea-name-header h2 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .previous-teas-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
        max-height: 500px;
    }
    
    .previous-tea-card {
        padding: 1.5rem;
    }
    
    .tea-card-name {
        font-size: 1.25rem;
    }
    
    .manual-tea-input {
        font-size: 1.25rem;
        padding: 1.25rem;
    }
    
    .wizard-nav-btn {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
    }
}

/* Theme Adjustments */
.real-mode .benefit-item {
    background: rgb(255 255 255 / 5%);
}

.real-mode .tea-type-btn {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.real-mode .brew-param {
    background: rgb(255 255 255 / 8%);
}

.real-mode .previous-teas-section {
    background: rgb(255 255 255 / 5%);
}

/* Accessibility */
button:focus,
.tea-type-btn:focus,
.rating-btn:focus,
input:focus,
textarea:focus {
    outline: 3px solid #4A7C59;
    outline-offset: 2px;
}

/* Prevent Text Selection on Interactive Elements */
button,
.tea-type-btn,
.rating-btn,
.wizard-nav-btn {
    user-select: none;
}

/* Touch Targets */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}