@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 40px 20px;
}

header {
    background: linear-gradient(135deg, #2287AC 0%, #1f79a0 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(34, 135, 172, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-title {
    font-size: 32px;
    font-weight: 500;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    font-weight: 500;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.note-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.note-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    resize: vertical;
    min-height: 200px;
    transition: border-color 0.3s ease;
}

.note-input:focus {
    outline: none;
    border-color: #2287AC;
    box-shadow: 0 0 0 3px rgba(34, 135, 172, 0.1);
}

.note-input::placeholder {
    color: #b0b0b0;
}

.time-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.time-input:focus {
    outline: none;
    border-color: #2287AC;
    box-shadow: 0 0 0 3px rgba(34, 135, 172, 0.1);
}

.time-input::placeholder {
    color: #b0b0b0;
}

.create-link-btn {
    background: linear-gradient(135deg, #2287AC 0%, #1f79a0 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    align-self: flex-start;
}

.create-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 135, 172, 0.3);
}

.create-link-btn:active {
    transform: translateY(0);
}

.carousel-section {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-height: fit-content;
    align-self: start;
}

.carousel {
    position: relative;
    height: auto;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    gap: 8px;
}

.slide-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

.carousel-image {
    width: 200px;
    height: 280px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px;
}

.slide-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.carousel-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
    color: #333;
    order: -1;
}

.carousel-text {
    font-size: 16px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 8px;
}

.carousel-example {
    font-size: 16px;
    color: #999;
    margin-bottom: 8px;
}

.carousel-list {
    list-style: disc;
    padding-left: 18px;
    margin-top: 6px;
}

.carousel-list li {
    font-size: 16px;
    color: #555;
    margin-bottom: 3px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.indicator:hover {
    background-color: #bbb;
}

.indicator.active {
    background-color: #2287AC;
    transform: scale(1.2);
}

footer {
    background-color: #2287AC;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.back-btn {
    position: absolute;
    left: -80px;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background-color: white;
    font-size: 28px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-btn:active {
    transform: translateY(0);
}

.faq-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.privacy-content {
    max-width: 700px;
}

.privacy-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.privacy-date {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.privacy-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-subsection {
    margin-top: 15px;
    margin-bottom: 15px;
}

.privacy-subheading {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}

.privacy-list {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.privacy-list li {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 6px;
}

.privacy-ordered-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 10px 0;
}

.privacy-ordered-list li {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    main {
        padding: 30px 15px;
    }

    .content-wrapper {
        gap: 30px;
    }

    .form-section {
        padding: 25px;
    }

    .carousel-section {
        padding: 25px;
    }

    .header-title {
        font-size: 26px;
    }

    .header-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .back-btn {
        left: -70px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .faq-content {
        padding: 30px;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 15px;
        border-radius: 0 0 15px 15px;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .header-title {
        font-size: 24px;
    }

    .header-nav {
        gap: 20px;
        align-self: center;
    }

    .nav-link {
        font-size: 14px;
    }

    main {
        padding: 25px 15px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-section {
        padding: 20px;
    }

    .carousel-section {
        padding: 12px;
    }

    .note-input {
        min-height: 150px;
        font-size: 16px;
    }

    .slide-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .carousel-image {
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 200 / 280;
    }

    .slide-text {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .carousel-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .carousel-text {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .carousel-list li {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .create-link-btn {
        font-size: 15px;
        padding: 11px 25px;
    }

    footer {
        padding: 20px 15px;
    }

    .footer-content {
        font-size: 12px;
    }

    .back-btn {
        position: static;
        width: 40px;
        height: 40px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    .faq-content {
        padding: 20px;
    }

    .faq-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .faq-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .faq-question {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .faq-answer {
        font-size: 13px;
    }

    .privacy-subheading {
        font-size: 13px;
    }

    .privacy-list li {
        font-size: 13px;
    }

    .privacy-ordered-list li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 10px;
    }

    .header-title {
        font-size: 20px;
    }

    .header-nav {
        gap: 15px;
        width: 100%;
    }

    .nav-link {
        font-size: 12px;
        flex: 1;
        text-align: center;
    }

    main {
        padding: 20px 10px;
    }

    .form-section,
    .carousel-section {
        padding: 10px;
    }

    .note-form {
        gap: 15px;
    }

    .note-input {
        min-height: 120px;
        padding: 12px;
        font-size: 16px;
    }

    .time-input {
        padding: 10px 12px;
        font-size: 16px;
    }

    .slide-content {
        gap: 8px;
    }

    .carousel-image {
        max-width: 200px;
        max-height: 280px;
    }

    .carousel-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .carousel-text {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .carousel-example {
        font-size: 10px;
    }

    .carousel-list li {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .carousel-indicators {
        margin-top: 15px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    footer {
        padding: 15px 10px;
    }

    .back-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .faq-content {
        padding: 15px;
    }

    .faq-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .faq-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .faq-question {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .faq-answer {
        font-size: 12px;
        line-height: 1.5;
    }

    .privacy-date {
        font-size: 11px;
    }

    .privacy-intro {
        font-size: 12px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .privacy-subsection {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .privacy-subheading {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .privacy-list,
    .privacy-ordered-list {
        padding-left: 18px;
        margin: 8px 0;
    }

    .privacy-list li,
    .privacy-ordered-list li {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .privacy-date {
        font-size: 10px;
    }

    .privacy-intro {
        font-size: 11px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .privacy-subsection {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .privacy-subheading {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .privacy-list,
    .privacy-ordered-list {
        padding-left: 16px;
        margin: 6px 0;
    }

    .privacy-list li,
    .privacy-ordered-list li {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 3px;
    }
}
