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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.brand-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Navigation Styles */
.nav {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.section:nth-child(even) {
    background-color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.overview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.overview-card ul {
    list-style: none;
    padding-left: 0;
}

.overview-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.overview-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.goal-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    background-color: #f1f5f9;
}

.goal-item.highlight {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
}

.goal-date {
    font-weight: 500;
    color: #64748b;
}

.goal-value {
    font-weight: 700;
    color: #1e293b;
}

/* Daily Actions Section */
.daily-routine {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.routine-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.routine-item:hover {
    transform: translateY(-2px);
}

.routine-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
}

.routine-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.routine-content p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.routine-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #5b21b6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Daily Checklist */
.daily-checklist {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.daily-checklist h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.checklist-item:hover {
    background-color: #f1f5f9;
}

.checklist-input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #667eea;
}

.checklist-text {
    font-weight: 500;
    color: #374151;
}

/* Template Section */
.template-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.template-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.template-tab.active,
.template-tab:hover {
    background: #667eea;
    color: white;
}

.template-content {
    min-height: 400px;
}

.template-panel {
    display: none;
}

.template-panel.active {
    display: block;
}

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

.template-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.template-card h4 {
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    font-weight: 600;
    color: #1e293b;
}

.template-text {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.template-text pre {
    background: #1e293b;
    color: #f1f5f9;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background: #059669;
}

.copy-btn.copied {
    background: #6b7280;
}

/* Schedule Section */
.schedule-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.schedule-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.schedule-tab.active,
.schedule-tab:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.schedule-week {
    display: none;
}

.schedule-week.active {
    display: block;
}

.week-goals {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.week-goals h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.daily-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.day-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.day-card h4 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.day-tasks {
    list-style: none;
}

.day-tasks li {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.9rem;
}

.day-tasks strong {
    color: #667eea;
}

/* KPI Section */
.kpi-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.kpi-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kpi-card h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.kpi-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kpi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.kpi-label {
    font-weight: 500;
    color: #374151;
}

.kpi-target {
    font-weight: 600;
    color: #667eea;
}

/* Progress Tracker */
.progress-tracker {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.progress-tracker h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.progress-grid {
    display: grid;
    gap: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-item label {
    font-weight: 500;
    color: #374151;
}

.progress-input {
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

.progress-input:focus {
    outline: none;
    border-color: #667eea;
}

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tool-category h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.tool-item:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.tool-item h4 {
    margin: 0 0 0.25rem 0;
    color: #1e293b;
    font-size: 1rem;
}

.tool-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.tool-link {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.tool-link:hover {
    background: #5b21b6;
}

/* Priority Accounts */
.priority-accounts {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.priority-accounts h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.account-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.account-item strong {
    color: #1e293b;
    font-size: 1rem;
}

.account-item span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .header-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .nav-list {
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .overview-grid,
    .tools-grid,
    .kpi-dashboard {
        grid-template-columns: 1fr;
    }
    
    .routine-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .routine-time {
        min-width: auto;
        align-self: stretch;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .template-tabs {
        flex-direction: column;
    }
    
    .schedule-tabs {
        flex-direction: column;
    }
    
    .daily-schedule {
        grid-template-columns: 1fr;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .accounts-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5b21b6;
} 