/*
Theme Name: When Time Works
Theme URI: https://example.com
Author: Trae
Author URI: https://example.com
Description: A clone of When Time Works landing page and planner tool.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whentimeworks
*/

:root {
    --primary-color: #4f46e5; /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */
    --text-main: #111827; /* Gray 900 */
    --text-secondary: #6b7280; /* Gray 500 */
    --bg-color: #ffffff;
    --page-bg-color: #f9fbfc;
    --logo-font-size: 1.375rem;
    --app-title-font-size: 0.875rem;
    --section-bg: #f9fafb; /* Gray 50 */
    --footer-bg: #1f2937; /* Gray 800 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.5;
    background-color: var(--page-bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    background: white;
}

.site-branding .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: var(--logo-font-size) !important;
}

.site-branding .logo svg,
.app-title svg {
    width: 1.5em;
    height: 1.5em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav .btn {
    color: white;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to bottom, white, #f9fafb);
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: #eff6ff;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Example Card in Hero */
.example-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    padding: 2.5rem;
    text-align: left;
}

.time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.time-location {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.warning-badge {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.better-options {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.better-options p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.options-list {
    display: flex;
    gap: 0.5rem;
}

.option-pill {
    background: #ecfdf5;
    color: #059669;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Pain Points */
.pain-points {
    padding: 5rem 0;
    background: white;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.icon-box.red {
    background: #fee2e2;
    color: #ef4444;
}

.icon-box.blue {
    background: #e0e7ff;
    color: var(--primary-color);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-secondary);
}

/* Features */
.features {
    padding: 5rem 0;
    background: var(--section-bg);
}

.features .cards-grid {
    text-align: center;
}

.features .card {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.features .icon-box {
    margin: 0 auto 1.5rem;
    border-radius: 12px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    color: #a5b4fc;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 3rem 0;
    font-size: 0.875rem;
}

.footer-branding .logo {
    font-size: 0.625rem !important;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #9ca3af;
}

.check-icon {
    color: #10b981;
    margin-right: 0.25rem;
}

/* How It Works page */
.how-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    background: white;
    border-bottom: 1px solid #f3f4f6;
}
.header-cta {
    color: var(--primary-color);
    font-weight: 600;
}
.how-step {
    padding: 2rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.how-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.step-index {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 9999px;
    font-weight: 700;
}
.sample-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: var(--text-main);
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
}
.ratings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}
.rating-row .rating-title {
    display: flex;
    align-items: center;
    font-weight: 700;
}
.rating-row .rating-desc {
    color: var(--text-main);
}
.rating-row.good {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #16a34a;
}
.rating-row.borderline {
    background: #fef3c7;
    border-color: #fde68a;
    color: #d97706;
}
.rating-row.bad {
    background: #fee2e2;
    border-color: #fecaca;
    color: #ef4444;
}
.better-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
}
.better-title {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    background: #f9fafb;
}
.option-time {
    font-weight: 700;
    color: var(--text-main);
}
.option-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.option-badge.good {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
}
.copy-link-btn:hover {
    background: #f9fafb;
}
/* =========================================
   Planner Tool Styles
   ========================================= */

/* Multiple Results Styles */
.participant-result-row {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.participant-result-row:last-child {
    border-bottom: none;
}

.participant-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.participant-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.participant-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.participant-status-line {
    display: flex;
    justify-content: flex-end;
    font-size: 0.75rem;
}

.multiple-main-time {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.planner-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #f9fbfc;
}

.planner-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.back-link {
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-title {
    font-weight: 700;
    font-size: var(--app-title-font-size) !important;
    color: var(--text-main);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-option:hover {
    background: #f9fafb;
}

.calendar-option-icon {
    color: #6b7280;
}

.calendar-option-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.calendar-option-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Recommendation Cards */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.rec-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
}

.rec-time-block {
    display: flex;
    flex-direction: column;
}

.rec-time {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.rec-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.rec-arrow {
    color: #d1d5db;
    font-size: 1.25rem;
    padding: 0 1rem;
}

.rec-status-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rec-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rec-status.good {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.rec-status.borderline {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.rec-status.bad {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.rec-plus {
    color: var(--text-secondary);
    cursor: pointer;
}

.flex-toggle.active {
    background: #10b981;
}

.flex-toggle.active::after {
    transform: translateX(20px);
}

/* Multiple View Styles */
.participant-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.participant-row .custom-input {
    flex: 1;
}

.remove-participant-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #fee2e2;
    color: #ef4444;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.remove-participant-btn:hover {
    background: #fecaca;
}

.planner-tabs {
    display: flex;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: white;
    color: var(--text-main);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Inputs Grid */
.inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.input-label span {
    color: #818cf8; /* Light indigo */
}

.custom-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    background: white;
    outline: none;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.custom-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.input-field {
    border: none;
    width: 100%;
    outline: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
}

/* Dropdown Base Styles */
.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    max-height: 400px;
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    overflow: hidden;
    flex-direction: column;
}

/* Search Area in Dropdown */
.dropdown-search-container {
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.dropdown-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-search-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    pointer-events: none;
}

.dropdown-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #6366f1; /* Indigo border */
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    color: var(--text-main);
}

.dropdown-search-input::placeholder {
    color: #9ca3af;
}

/* List Container */
.dropdown-list {
    overflow-y: auto;
    max-height: 300px;
    padding-bottom: 0.5rem;
}

.dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.dropdown-list::-webkit-scrollbar-thumb {
    background: #d1d5db; 
    border-radius: 3px;
}
.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af; 
}

.city-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.city-option:hover {
    background-color: #f9fafb;
}

.city-name {
    font-weight: 600;
    color: var(--text-main);
}

.city-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Time Dropdown Specifics */
.time-input-container {
    position: relative;
}

.time-dropdown {
    overflow-y: auto;
    max-height: 300px;
}

.time-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.time-option:hover {
    background-color: #f9fafb;
}

/* Date Time Row */
.date-time-row {
    display: flex;
    gap: 1rem;
}

.date-input-container {
    flex: 2;
}
.time-input-container {
    flex: 1;
}

/* Flexibility */
.flexibility-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.flex-toggle {
    width: 44px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
}

.flex-toggle::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

/* Check Button */
.check-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.check-btn:hover {
    background: var(--primary-hover);
}

/* Results Card */
.result-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-badge.good {
    background-color: #dcfce7;
    color: #16a34a;
}

.status-badge.bad {
    background-color: #fee2e2;
    color: #ef4444;
}

.status-badge.borderline {
    background-color: #fef3c7;
    color: #d97706;
}

.status-desc {
    font-weight: 400;
    color: #374151;
    margin-left: 0.5rem;
}

.time-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.time-col {
    flex: 1;
}

.col-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.col-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.col-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.col-loc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.arrow-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.add-calendar-btn {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.add-calendar-btn:hover {
    background: #f9fafb;
}

.better-options-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.better-options-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.options-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.option-pill {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
}

.option-pill:hover {
    background: #e5e7eb;
}

/* Media Query for Mobile */
@media (max-width: 640px) {
    .planner-page-container {
        padding: 1rem;
    }
    
    .inputs-grid {
        grid-template-columns: 1fr;
    }
    
    .date-time-row {
        flex-direction: column;
    }
    
    .time-comparison {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .arrow-circle {
        transform: rotate(90deg);
    }
}

/* How Page */
.how-page {
    padding: 2rem 1rem;
    background-color: #ffffff;
}
.how-main {
    max-width: 860px;
    margin: 0 auto;
}
.how-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}
.how-header .back-link {
    position: absolute;
    left: 0;
}
.header-cta {
    position: absolute;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}
.how-hero {
    text-align: center;
    margin: 2rem 0 3rem;
}
.how-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.how-hero p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}
.how-step {
    margin: 2rem 0 2.5rem;
}

.how-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.step-text h2 {
    margin: 0 0 0.25rem 0;
}
.step-text p {
    margin: 0;
    color: var(--text-secondary);
}

.how-step h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.how-step p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.step-index {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e7ff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}
.sample-box {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    color: var(--text-main);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
}
.ratings {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}
.rating-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.rating-desc {
    color: var(--text-secondary);
    font-weight: 500;
}
.rating-row.good {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #16a34a;
}
.rating-row.borderline {
    background: #fef3c7;
    border-color: #fde68a;
    color: #d97706;
}
.rating-row.bad {
    background: #fee2e2;
    border-color: #fecaca;
    color: #ef4444;
}
.better-card {
    background: #eef2ff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
}
.better-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}
.option-time {
    font-weight: 700;
    color: var(--text-main);
}
.option-badge {
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.option-badge.good {
    background: #dcfce7;
    color: #16a34a;
    border-color: #bbf7d0;
}
.copy-link-btn {
    background: #e5e7eb;
    color: var(--text-main);
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.events-hero {
    text-align: center;
    margin-top: 3rem;
}
.events-hero h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.events-hero p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.events-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    max-width: 720px;
    margin: 0 auto;
}
.events-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}
.events-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.events-text {
    text-align: left;
}

.try-section {
    text-align: center;
    margin: 3rem 0 2rem;
}
.try-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.try-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

/* Privacy Policy Page */
.privacy-page-wrapper {
    padding: 4rem 0;
    background-color: var(--page-bg-color);
}

.privacy-content-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.privacy-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.privacy-entry-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.privacy-entry-content h2 {
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.privacy-entry-content p {
    margin-bottom: 1.5rem;
}
