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

html {
    scroll-behavior: smooth;
}

.section-header {
    cursor: pointer;
    transition: color 0.2s;
}

.section-header:hover {
    color: #8b5cf6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #b8e6db 0%, #9dd9cc 50%, #7fc9ba 100%);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.mascot {
    flex-shrink: 0;
    width: 300px;
    height: auto;
    border-radius: 24px;
}

.form-content {
    flex: 1;
    min-width: 0;
}

h1 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #8b5cf6;
    text-shadow: 1px 0px #ffffff;
}

.step {
    text-align: left;
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 500;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

textarea {
    width: 100%;
    min-height: 180px;
    padding: 1rem;
    padding-bottom: 2rem;
    font-size: 1rem;
    border: 2px solid #d4c5f9;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s;
}

textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.timezone-info {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.75rem;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timezone-text {
    pointer-events: none;
}

.timezone-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #999;
    color: #999;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: help;
    pointer-events: auto;
    position: relative;
}

.timezone-help:hover {
    border-color: #666;
    color: #666;
    background: rgba(255, 255, 255, 1);
}

.timezone-help .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.2s;
    font-weight: normal;
}

.timezone-help .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border: 5px solid transparent;
    border-top-color: #333;
}

.timezone-help:hover .tooltip,
.timezone-help.active .tooltip {
    visibility: visible;
    opacity: 1;
}

.step-with-button {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 500;
}

button {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    background-color: #8b5cf6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

button:hover {
    background-color: #7c3aed;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.spinner.active {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    font-size: 0.95rem;
}

.success-message.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.success-text {
    color: #065f46;
    font-weight: 500;
}

.google-calendar-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #8b5cf6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.google-calendar-button:hover {
    background-color: #7c3aed;
}

.error-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c00;
    font-size: 0.95rem;
}

.error-message.active {
    display: block;
}

footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #eee;
}

footer a {
    color: #8b5cf6;
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .mascot {
        width: 200px;
    }

    h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 1rem;
    }
}

/* Feedback form styles */
.feedback-form {
    max-width: 600px;
}

.question {
    margin-bottom: 2rem;
}

.question-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 2rem;
    padding-left: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8b5cf6;
    border: 2px solid #d4c5f9;
    outline: none;
}

.radio-option input[type="radio"]:focus {
    border-color: #8b5cf6;
}

.radio-option input[type="radio"]:checked {
    border-color: #8b5cf6;
}

.radio-option label {
    cursor: pointer;
    color: #2d3748;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0.5rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #8b5cf6;
    border: 2px solid #d4c5f9;
    border-radius: 4px;
    outline: none;
}

.checkbox-option input[type="checkbox"]:focus {
    border-color: #8b5cf6;
}

.checkbox-option input[type="checkbox"]:checked {
    border-color: #8b5cf6;
}

.checkbox-option label {
    cursor: pointer;
    color: #2d3748;
}

.other-input {
    margin-top: 0.5rem;
    margin-left: 26px;
    width: calc(100% - 26px);
}

.other-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    font-size: 0.95rem;
    border: 2px solid #d4c5f9;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s;
}

.other-input textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.q1-no-details {
    display: none;
    margin-top: 1rem;
}

.q1-no-details textarea {
    min-height: 140px !important;
}

.q1-no-details.show {
    display: block;
}

.q1-no-details label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.thank-you-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b8e6db 0%, #9dd9cc 50%, #7fc9ba 100%);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.thank-you-screen.show {
    display: flex;
}

.thank-you-screen img {
    max-width: 400px;
    width: 80%;
    height: auto;
    border-radius: 20px;
}

.submit-button {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.required {
    color: #e53e3e;
    margin-left: 0.25rem;
}

/* Content pages (Terms, Privacy) */
main.content-page {
    align-items: flex-start;
    padding-top: 3rem;
}

.content-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-container h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #8b5cf6;
    text-shadow: 1px 0px #2d3748;
    margin-bottom: 0.5rem;
}

.content-container .last-updated {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.content-container h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-container p {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-container li {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.content-container a {
    color: #8b5cf6;
    text-decoration: none;
}

.content-container a:hover {
    text-decoration: underline;
}

.important-notice {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.important-notice strong {
    color: #92400e;
}

@media (max-width: 768px) {
    main.content-page {
        padding-top: 2rem;
    }

    .content-container {
        padding: 2rem 1.5rem;
    }

    .content-container h1 {
        font-size: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.faq-section .container {
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.faq-section h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.faq-section h2:hover {
    color: #8b5cf6;
}

.faq-section h2::after {
    content: '▼';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-section h2.collapsed::after {
    transform: rotate(-90deg);
}

.faq-content {
    width: 100%;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-content.hidden {
    max-height: 0;
    opacity: 0;
}

.faq-item {
    width: 100%;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: #8b5cf6;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-section h2 {
        font-size: 1.5rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }
}

/* Feedback Section */
.feedback-section {
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-section h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #333;
}

@media (max-width: 768px) {
    .feedback-section {
        padding: 2rem 1rem;
    }

    .feedback-section h2 {
        font-size: 1.5rem;
    }
}

/* Chrome Extension Section */
.chrome-extension-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
}

.chrome-extension-section .container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.chrome-extension-content {
    width: 100%;
}

.chrome-extension-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background-color: #8b5cf6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.chrome-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.chrome-extension-button:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.chrome-extension-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .chrome-extension-section {
        padding: 2rem 1rem;
    }

    .chrome-extension-section h2 {
        font-size: 1.5rem;
    }

    .chrome-extension-button {
        font-size: 1rem;
        padding: 0.65rem 1.5rem;
    }
}

/* Video Container */
.video-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

@media (max-width: 768px) {
    .video-container {
        margin: 1.5rem 0;
    }
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.blog-post {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
    transition: all 0.2s;
}

.blog-post:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
    margin: 0 0 0.75rem 0;
    color: #2d3748;
    font-size: 1.4rem;
}

.blog-post h3 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post h3 a:hover {
    color: #8b5cf6;
}

.blog-post p {
    margin: 0 0 1rem 0;
    color: #4a5568;
    line-height: 1.6;
}

.blog-post .read-more {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-post .read-more:hover {
    color: #7c3aed;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
    }

    .blog-post h3 {
        font-size: 1.2rem;
    }
}

