/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Form elements inherit font */
button,
input,
select,
textarea {
    font-family: inherit;
}

:root {
    /* Colors - 기존 유지 */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);

    /* Typography - Garriock 스타일 */
    --font-serif: 'Noto Serif KR', Georgia, serif;
    --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Animation */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.3s;
    --duration-normal: 0.6s;
    --duration-slow: 1s;

    /* Spacing */
    --section-padding: 6rem;
    --section-padding-mobile: 4rem;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography - Serif for headings */
h1, h2, h3 {
    font-family: var(--font-serif);
}

/* ======================================
   ANIMATIONS - Garriock Style
   ====================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes springPop {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Animation utility classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp var(--duration-normal) var(--ease-smooth) forwards;
}

.fade-in-up[style*="--delay"] {
    animation-delay: var(--delay);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up,
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ======================================
   ACCESSIBILITY - Focus & Screen Reader
   ====================================== */
/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.3);
}

a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ======================================
   NAVBAR - Minimal Style (Garriock)
   ====================================== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar Minimal - 투명 배경, 스크롤 시 변경 */
.navbar-minimal {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background var(--duration-fast), box-shadow var(--duration-fast), backdrop-filter var(--duration-fast);
}

.navbar-minimal.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 1001;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.2s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Nav Link Animated - Garriock style (좌->우 확장) */
.nav-link-animated {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color var(--duration-fast);
}

.nav-link-animated:hover {
    color: var(--primary-color);
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-spring);
}

.nav-link-animated:hover::after {
    transform: scaleX(1);
}

/* Logo Serif Style */
.logo-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* Hamburger Button - Hidden by default */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger -> X Animation */
.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ======================================
   HERO FULLSCREEN - Garriock Style
   ====================================== */
.hero-fullscreen {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 8rem;    /* navbar 높이(~60px) + 여유 공간 */
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    background: var(--bg-light);
}

.hero-fullscreen h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-fullscreen .subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    color: var(--text-light);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    opacity: 0;
    animation: fadeIn var(--duration-slow) var(--ease-smooth) 1s forwards;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Start Form */
.start-form-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.start-form-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
}

.start-form-box h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.input-prefix {
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.9rem;
    white-space: nowrap;
}

.input-group input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.btn-random {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-random:hover {
    background: var(--primary-dark);
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.5rem 0 1rem;
}

/* ======================================
   START FORM MINIMAL - Garriock Style
   ====================================== */
.start-form-minimal {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.input-group-minimal {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding: 0.5rem 0;
    transition: border-color var(--duration-fast);
    background: transparent;
}

.input-group-minimal:focus-within {
    border-color: var(--primary-color);
}

.input-group-minimal .input-prefix {
    background: transparent;
    padding: 0.75rem 0;
    padding-right: 0.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

.input-group-minimal input {
    flex: 1;
    border: none;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    background: transparent;
    outline: none;
    font-family: var(--font-sans);
}

.input-group-minimal input::placeholder {
    color: #bbb;
}

.form-actions-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

/* Text Button */
.btn-text {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--duration-fast);
    font-family: var(--font-sans);
}

.btn-text:hover {
    color: var(--primary-color);
}

/* Primary Button with Spring */
.btn-spring {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--duration-fast), background var(--duration-fast);
    font-family: var(--font-sans);
}

.btn-spring:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-spring:active {
    transform: scale(0.98);
}

/* ======================================
   FOOTER MINIMAL - Garriock Style
   ====================================== */
.footer-minimal {
    padding: var(--section-padding) 2rem;
    text-align: center;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-minimal .footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-sections {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-section {
    text-align: center;
}

.footer-section-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-section-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: color var(--duration-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: var(--font-sans);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.start-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 3rem 0;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
}

.schedules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.schedule-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.schedule-card-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
}

.schedule-card-header h3 {
    margin: 0;
}

.schedule-card-body {
    padding: 1rem;
}

.participant-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.schedule-card-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: 12px;
}

.empty-state p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-sm {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Schedule View */
.schedule-header {
    text-align: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.participant-section {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.participant-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.participant-selector label {
    font-weight: 500;
}

.participant-selector select {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.participant-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Calendar */
.calendar-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.calendar {
    max-width: 700px;
    margin: 0 auto;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    color: var(--text-light);
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 4px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-light);
}

.calendar-day:hover:not(.empty) {
    border-color: var(--primary-color);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.other-month {
    background-color: #f8f9fa;
    color: #999;
}

.calendar-day.other-month .day-number {
    font-size: 0.85em;
}

.calendar-day.other-month.selected {
    background-color: #cce5ff;
    color: #666;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
}

.day-number {
    font-weight: 600;
    font-size: 1rem;
}

.participant-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    margin-top: 4px;
}

.participant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.participant-count-info {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Location Voting Section */
.location-section {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.location-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.location-add {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.location-add input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.location-add input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    gap: 1rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.location-name {
    font-weight: 500;
}

.location-votes {
    color: var(--primary-color);
    font-weight: 600;
}

.location-voters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.voter-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.location-actions {
    flex-shrink: 0;
}

.empty-locations {
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
}

/* Owner Info */
.owner-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation - Mobile */
    .navbar-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background-color: var(--bg-white);
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.125rem;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-prefix {
        width: 100%;
        text-align: center;
    }

    .btn-random {
        width: 100%;
        padding: 0.75rem;
    }

    .schedule-card-actions {
        flex-wrap: wrap;
    }

    .participant-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .participant-selector select {
        width: 100%;
    }

    /* Location/Menu Voting */
    .location-section {
        padding: 1rem;
        overflow: hidden;
    }

    .location-add {
        flex-direction: column;
        max-width: 100%;
        overflow: hidden;
    }

    .location-add input {
        width: 100%;
        min-width: 0;
    }

    .location-add .btn {
        width: 100%;
        min-width: 0;
        display: block;
    }

    /* Calendar - Tablet */
    .calendar-container {
        padding: 1.25rem;
    }

    .calendar {
        max-width: 100%;
    }

    .calendar-header,
    .calendar-body {
        gap: 3px;
    }

    .weekday {
        font-size: 0.8125rem;
        padding: 0.375rem;
    }

    .calendar-day {
        padding: 6px 3px;
        min-height: 48px;
    }

    .day-number {
        font-size: 0.9375rem;
    }

    .participant-dot {
        width: 7px;
        height: 7px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    /* Navbar */
    .navbar-content {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.875rem 0;
    }

    /* Container */
    .container {
        padding: 0.75rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Calendar */
    .calendar-container {
        padding: 1rem;
    }

    .calendar {
        max-width: 100%;
    }

    .calendar-header,
    .calendar-body {
        gap: 2px;
    }

    .weekday {
        font-size: 0.75rem;
        padding: 0.25rem;
    }

    .calendar-day {
        padding: 4px 2px;
        min-height: 44px;
    }

    .day-number {
        font-size: 0.875rem;
    }

    .participant-dots {
        gap: 1px;
        margin-top: 2px;
    }

    .participant-dot {
        width: 6px;
        height: 6px;
    }

    /* Participant Section */
    .participant-section {
        padding: 1rem;
    }

    .participant-selector {
        gap: 0.5rem;
    }

    .participant-selector label {
        font-size: 0.875rem;
    }

    .participant-selector select {
        min-width: unset;
        font-size: 0.875rem;
    }

    .participant-legend {
        gap: 0.5rem;
    }

    .legend-item {
        font-size: 0.875rem;
    }

    .color-dot {
        width: 10px;
        height: 10px;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-buttons .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Dashboard */
    .dashboard-header h1 {
        font-size: 1.25rem;
    }

    .schedules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-card-header {
        padding: 0.75rem;
    }

    .schedule-card-body {
        padding: 0.75rem;
    }

    .schedule-card-actions {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .schedule-card-actions .btn {
        min-height: 44px;
    }

    /* Start Form */
    .start-form-box {
        padding: 1.5rem;
    }

    .start-form-box h2 {
        font-size: 1.125rem;
    }

    .input-prefix {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .input-hint {
        font-size: 0.75rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .modal-header h2 {
        font-size: 1.125rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
        min-height: 44px;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .form-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Location/Menu Voting Section */
    .location-section {
        padding: 1rem;
        overflow: hidden;
    }

    .location-add {
        flex-direction: column;
        max-width: 100%;
        overflow: hidden;
    }

    .location-add input {
        width: 100%;
        min-width: 0;
    }

    .location-add .btn {
        width: 100%;
        min-width: 0;
        display: block;
    }

    .location-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .location-info {
        width: 100%;
        flex-wrap: wrap;
    }

    .location-voters {
        width: 100%;
    }

    .location-actions {
        width: 100%;
    }

    .location-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    /* How It Works */
    .how-it-works {
        padding: 2rem 0;
    }

    .how-it-works h2 {
        font-size: 1.25rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .step h3 {
        font-size: 1rem;
    }

    .step p {
        font-size: 0.875rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }

    .footer-content p {
        font-size: 0.875rem;
    }
}

/* Small Mobile - 320px */
@media (max-width: 320px) {
    /* Navbar */
    .navbar {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1.125rem;
    }

    /* Container */
    .container {
        padding: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 1.5rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.875rem;
    }

    /* Calendar */
    .calendar-header,
    .calendar-body {
        gap: 1px;
    }

    .weekday {
        font-size: 0.6875rem;
    }

    .calendar-day {
        padding: 3px 2px;
        border-radius: 4px;
        min-height: 38px;
    }

    .day-number {
        font-size: 0.8125rem;
    }

    .participant-dots {
        gap: 2px;
    }

    .participant-dot {
        width: 6px;
        height: 6px;
    }

    /* Participant */
    .participant-section {
        padding: 0.75rem;
    }

    .participant-selector .btn-sm {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    /* Start Form */
    .start-form-box {
        padding: 1rem;
    }

    .input-prefix {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    /* Schedule Header */
    .schedule-header h1 {
        font-size: 1.25rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: toastSlideIn 0.3s ease;
    max-width: 350px;
    word-break: keep-all;
}

.toast.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.toast.success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.toast.fade-out {
    animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .toast {
        max-width: none;
    }
}

/* ======================================
   HERO DESCRIPTION
   ====================================== */
.hero-description {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* ======================================
   FEATURES SECTION
   ====================================== */
.features-section {
    padding: 4rem 0;
    text-align: center;
}

.features-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ======================================
   SCENARIOS SECTION
   ====================================== */
.scenarios-section {
    padding: 4rem 0;
    background: var(--bg-white);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.scenarios-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-color);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.scenario-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.scenario-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.scenario-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.scenario-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.scenario-example {
    background: var(--bg-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-label {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: inherit;
}

.scenario-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-sans);
    transition: color var(--duration-fast);
}

.scenario-more:hover {
    color: var(--primary-dark, #2980b9);
}

/* ======================================
   FAQ SECTION
   ====================================== */
.faq-section {
    padding: 4rem 0;
}

.faq-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ======================================
   GUIDE PAGE
   ====================================== */
.guide-page {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.guide-hero {
    text-align: center;
    padding: 3rem 0;
}

.guide-hero h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.guide-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.guide-steps {
    padding: 1rem 0 3rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.guide-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.guide-step-content h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.guide-step-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.guide-step-content ul {
    padding-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

.guide-step-content code {
    background: var(--bg-light);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.guide-tip {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-style: italic;
}

.guide-cta {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.guide-cta h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.guide-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.guide-use-cases {
    padding: 3rem 0;
}

.guide-use-cases h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.guide-use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.guide-use-case-card {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--duration-fast);
}

.guide-use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.guide-use-case-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.guide-use-case-card h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.guide-use-case-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ======================================
   USE CASE PAGE
   ====================================== */
.use-case-page {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.use-case-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.use-case-hero h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.use-case-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

.use-case-content {
    padding: 2rem 0;
}

.use-case-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.use-case-example {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.use-case-example h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.use-case-example-url {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.use-case-example-label {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.use-case-example-url code {
    font-size: 0.95rem;
    color: var(--primary-color);
}

.use-case-cta {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.use-case-cta h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.use-case-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.use-case-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.use-case-others {
    padding: 3rem 0;
}

.use-case-others h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    display: block;
    text-decoration: none;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--duration-fast);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.use-case-card h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.use-case-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ======================================
   RESPONSIVE - Landing Page Sections
   ====================================== */
@media (max-width: 768px) {
    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .features-section,
    .scenarios-section,
    .faq-section {
        padding: 3rem 0;
    }

    .features-section h2,
    .scenarios-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .features-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .scenarios-section {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 0.875rem;
    }

    .features-section,
    .scenarios-section,
    .faq-section {
        padding: 2rem 0;
    }

    .feature-card,
    .scenario-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }

    .scenario-emoji {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {
    .features-grid,
    .scenarios-grid {
        gap: 1rem;
    }

    .feature-card,
    .scenario-card {
        padding: 1rem;
    }

    .scenario-emoji {
        font-size: 1.75rem;
    }

    .scenario-example {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        font-size: 0.8rem;
    }
}

/* ======================================
   POPULAR SECTION
   ====================================== */
.popular-section {
    padding: 3rem 0;
    text-align: center;
}

.popular-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.popular-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.popular-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popular-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.popular-icon {
    width: 24px;
    height: 24px;
}

.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-name {
    font-weight: 500;
    color: var(--text-color);
}

.popular-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.popular-link:hover {
    text-decoration: underline;
}

.popular-votes {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ======================================
   HERO CTA BUTTON
   ====================================== */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero .btn-lg {
    margin-top: 1.5rem;
}

/* ======================================
   STATS STRIP (index.html)
   ====================================== */
.stats-strip {
    padding: 2rem 0;
    text-align: center;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.stats-strip-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
}

.stats-strip-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-strip-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.popular-more {
    text-align: center;
    margin-top: 1.5rem;
}

.popular-more .btn-text {
    font-size: 1rem;
}

/* ======================================
   RESPONSIVE - Popular Section
   ====================================== */
@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }

    .popular-section h2 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popular-section {
        padding: 2rem 0;
    }

    .popular-card-header {
        padding: 0.875rem 1rem;
    }

    .popular-item {
        padding: 0.875rem 1rem;
    }

    .stats-strip-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-strip-number {
        font-size: 1.5rem;
    }
}

/* ======================================
   RESPONSIVE - Garriock Style Components
   ====================================== */

/* Tablet */
@media (max-width: 768px) {
    /* Hero Fullscreen */
    .hero-fullscreen {
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
        padding: 5rem 1.5rem 3rem;
    }

    .hero-fullscreen h1 {
        font-size: 2.5rem;
    }

    .hero-fullscreen .subtitle {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Navbar Minimal */
    .navbar-minimal .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background-color: var(--bg-white);
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .navbar-minimal .nav-menu.open {
        right: 0;
    }

    .navbar-minimal .nav-link-animated {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.125rem;
    }

    .navbar-minimal .nav-link-animated::after {
        display: none;
    }

    /* Footer Minimal */
    .footer-minimal {
        padding: var(--section-padding-mobile) 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-sections {
        flex-direction: column;
        gap: 2rem;
    }

    /* Guide Page */
    .guide-step {
        flex-direction: column;
        gap: 1rem;
    }

    .guide-use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Hero Fullscreen */
    .hero-fullscreen {
        padding: 4rem 1rem 2rem;
    }

    .hero-fullscreen h1 {
        font-size: 2rem;
    }

    .hero-fullscreen .subtitle {
        font-size: 1rem;
    }

    /* Start Form Minimal */
    .start-form-minimal {
        padding: 0 0.5rem;
    }

    .input-group-minimal {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-group-minimal .input-prefix {
        font-size: 1rem;
        padding-bottom: 0;
    }

    .input-group-minimal input {
        width: 100%;
        font-size: 1rem;
    }

    .form-actions-minimal {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .form-actions-minimal .btn-spring {
        width: 100%;
    }

    /* Footer Minimal */
    .footer-minimal {
        padding: 3rem 1rem;
    }

    .footer-minimal .footer-logo {
        font-size: 1.25rem;
    }
}

/* Small Mobile */
@media (max-width: 320px) {
    .hero-fullscreen {
        padding: 3.5rem 0.75rem 2rem;
    }

    .hero-fullscreen h1 {
        font-size: 1.75rem;
    }

}

/* ======================================
   INSIGHTS PAGES
   ====================================== */

/* Insights Page Base */
.insights-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* Insights Hero */
.insights-hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.insights-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.insights-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Insights Overview */
.insights-overview {
    margin-bottom: 3rem;
}

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.highlight .stat-icon {
    background: rgba(255, 255, 255, 0.2);
}

.stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.stat-card.highlight .stat-icon svg {
    fill: white;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card.highlight .stat-number {
    color: white;
}

.stat-card .stat-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Insights Description */
.insights-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.insights-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.insights-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.insights-description p:last-child {
    margin-bottom: 0;
}

/* Insights CTA */
.insights-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.insights-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.insights-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Trends Page */
.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trends-section {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trends-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trends-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.trends-icon {
    width: 24px;
    height: 24px;
}

.trends-table-wrapper {
    overflow-x: auto;
}

.trends-table {
    width: 100%;
    border-collapse: collapse;
}

.trends-table th,
.trends-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.trends-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.trends-table tbody tr:last-child td {
    border-bottom: none;
}

.trends-table tbody tr:hover {
    background: var(--bg-light);
}

.rank-col {
    width: 60px;
    text-align: center;
}

.votes-col {
    width: 100px;
    text-align: right;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
}

.rank-badge.top-1 {
    background: #ffd700;
    color: #7a6200;
}

.rank-badge.top-2 {
    background: #c0c0c0;
    color: #5a5a5a;
}

.rank-badge.top-3 {
    background: #cd7f32;
    color: #5a3a1a;
}

.votes-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.menu-link {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-link:hover {
    text-decoration: underline;
}

/* Insights Info Section */
.insights-info {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.insights-info h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.insights-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Insights Navigation */
.insights-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Page */
.stats-overview {
    margin-bottom: 3rem;
}

.stats-overview h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stats-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.stats-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-card-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.stats-card-icon.calendar { background: linear-gradient(135deg, #3498db, #2980b9); }
.stats-card-icon.users { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.stats-card-icon.location { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.stats-card-icon.menu { background: linear-gradient(135deg, #f39c12, #d68910); }
.stats-card-icon.vote { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.stats-card-icon.avg { background: linear-gradient(135deg, #1abc9c, #16a085); }

.stats-card-content {
    flex: 1;
}

.stats-card-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-card-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stats-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Stats Detail */
.stats-detail {
    margin-bottom: 3rem;
}

.stats-detail h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.stats-detail-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stats-detail-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

.stats-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-detail-row:last-child {
    border-bottom: none;
}

.stats-detail-row .label {
    color: var(--text-light);
}

.stats-detail-row .value {
    font-weight: 600;
    color: var(--text-color);
}

/* Button Styles for Insights */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Insights Responsive */
@media (max-width: 768px) {
    .insights-hero h1 {
        font-size: 1.75rem;
    }

    .insights-hero-subtitle {
        font-size: 1rem;
    }

    .stat-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    .trends-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .insights-nav {
        flex-direction: column;
        align-items: center;
    }

    .insights-nav .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .insights-page {
        padding-top: 1rem;
    }

    .insights-hero {
        padding: 1rem 0 2rem;
    }

    .insights-hero h1 {
        font-size: 1.5rem;
    }

    .stat-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card .stat-number {
        font-size: 1.75rem;
    }


    .trends-table th,
    .trends-table td {
        padding: 0.75rem;
    }

    .stats-card {
        padding: 1rem;
    }

    .stats-card-icon {
        width: 48px;
        height: 48px;
    }

    .stats-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .stats-card-number {
        font-size: 1.5rem;
    }

    .stats-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* Policy Pages (Privacy, Terms) */
/* ========================= */

.policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.policy-hero {
    text-align: center;
    padding: 3rem 0 1rem;
}

.policy-hero h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.policy-updated {
    font-size: 0.9rem;
    color: var(--text-light);
}

.policy-content {
    padding: 1rem 0 3rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.policy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section li {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-section a:hover {
    color: var(--primary-dark);
}

/* footer-nav for default footer */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.footer-nav-link {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.footer-nav-link:hover {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .policy-page {
        padding-top: 1rem;
    }

    .policy-hero h1 {
        font-size: 1.6rem;
    }
}
