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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4a5568;
    background-color: #fefefe;
}

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

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
}

.coming-soon {
    background-color: #ffeaa7;
    color: #d63031;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #667eea;
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notify-section {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(102, 126, 234, 0.12);
    max-width: 520px;
}

.notify-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}


.notify-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.8rem;
    row-gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.notify-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 1rem;
    color: #2d3748;
    background-color: #f7fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    background-color: #ffffff;
}


.notify-submit {
    white-space: nowrap;
    padding-left: 28px;
    padding-right: 28px;
}

.notify-hint {
    font-size: 0.9rem;
    color: #718096;
}

.notify-feedback {
    grid-column: 1 / -1;
    display: none;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    background: rgba(72, 187, 120, 0.14);
    color: #1e4d3d;
    text-align: left;
    line-height: 1.4;
    box-shadow: inset 0 0 0 1px rgba(72, 187, 120, 0.25);
}

.notify-feedback.visible {
    display: block;
}

.notify-feedback.error {
    background: rgba(229, 62, 62, 0.15);
    color: #742a2a;
    box-shadow: inset 0 0 0 1px rgba(229, 62, 62, 0.25);
}

.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;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: #667eea;
    color: white;
}

.btn-primary:hover {
    background-color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-container {
    position: relative;
    display: inline-block;
}

.coming-soon-overlay {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(12deg);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.btn-secondary {
    background-color: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Calendar Preview */
.calendar-demo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.demo-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mode-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.mode-label {
    color: #718096;
    font-weight: 500;
}

.current-mode {
    color: #667eea;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}


.calendar-animation-zone {
    padding: 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.calendar-animation-zone:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.02);
}

.calendar-preview {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.calendar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    width: 200px;
    transition: transform 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-2px);
}

.calendar-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

.calendar-card.personal h3 {
    color: #38b2ac;
}

.calendar-card.work h3 {
    color: #ed8936;
}

.work-events {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-events.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.work-events.fade-in {
    opacity: 1;
    transform: scale(1);
}

.event-block {
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.personal-event {
    background-color: #e6fffa;
    color: #234e52;
    border-left: 3px solid #38b2ac;
}

.busy-block {
    background-color: #fef5e7;
    color: #744210;
    border-left: 3px solid #ed8936;
    animation: fadeIn 0.5s ease;
}

.detail-event {
    background-color: #e6fffa;
    color: #234e52;
    border-left: 3px solid #38b2ac;
    animation: fadeIn 0.5s ease;
}

.sync-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.sync-animation {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.sync-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: syncPulse 2s ease-in-out infinite;
}

.syncing .arrow-icon {
    transform: scale(1.1);
    color: #5a67d8;
}

.syncing .sync-animation::before {
    animation: syncPulse 0.8s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes syncPulse {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #38b2ac;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.step p {
    color: #4a5568;
    line-height: 1.6;
}

/* Privacy Policy Styles */
.privacy-section {
    padding: 60px 0;
    background-color: #fefefe;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-item {
    margin-bottom: 2.5rem;
}

.privacy-item h2 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.privacy-item h3 {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.25rem;
}

.privacy-item p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-item ul {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.7;
}

.privacy-item li {
    margin-bottom: 0.5rem;
}

.privacy-item strong {
    color: #2d3748;
    font-weight: 600;
}

.privacy-item a {
    color: #667eea;
    text-decoration: none;
}

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

/* Footer */
.footer {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #a0aec0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .notify-section {
        margin-left: auto;
        margin-right: auto;
    }

    .notify-form {
        flex-direction: column;
        align-items: stretch;
    }

    .notify-submit {
        width: 100%;
    }

    .calendar-preview {
        flex-direction: column;
        gap: 1rem;
    }

    .sync-arrow {
        transform: rotate(90deg);
    }


    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

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

    .calendar-card {
        min-width: auto;
        width: 100%;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Usage Page Styles */
.usage-section {
    padding: 60px 0;
}

.usage-section.alternate {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.usage-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 3rem;
    text-align: center;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.step-content.reverse {
    direction: rtl;
}

.step-content.reverse > * {
    direction: ltr;
}

.step-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.step-text p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.permission-list, .config-tips, .sync-behavior {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.permission-list h4, .config-tips h4, .sync-behavior h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.permission-list ul, .config-tips ul, .sync-behavior ul {
    list-style: none;
    padding: 0;
}

.permission-list li, .config-tips li, .sync-behavior li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.permission-list li:before, .config-tips li:before, .sync-behavior li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #38b2ac;
    font-weight: bold;
}

.permission-list li:last-child, .config-tips li:last-child, .sync-behavior li:last-child {
    border-bottom: none;
}

/* Visual Mockups */
.browser-mockup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.browser-bar {
    background: #e2e8f0;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
}

.browser-url {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #4a5568;
    font-size: 0.9rem;
}

.browser-content {
    padding: 2rem;
    text-align: center;
}

.extension-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    display: inline-block;
}

.extension-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 0 auto 1rem;
}

.extension-card h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.add-button {
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.oauth-mockup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.oauth-header {
    background: #f7fafc;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.oauth-header h4 {
    color: #2d3748;
    font-size: 1.1rem;
}

.oauth-permissions {
    padding: 1.5rem;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: #4a5568;
}

.permission-icon {
    font-size: 1.2rem;
}

.oauth-button {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}

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

.config-mockup h4 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calendar-select, .sync-settings {
    margin-bottom: 1.5rem;
}

.calendar-select label, .sync-settings label {
    display: block;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.select-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 6px;
    color: #2d3748;
}

.sync-demo {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.demo-calendar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    min-width: 200px;
}

.demo-calendar h5 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2d3748;
}

.demo-calendar.personal h5 {
    color: #38b2ac;
}

.demo-calendar.work h5 {
    color: #ed8936;
}

.demo-event {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.demo-event.busy {
    background: #fef5e7;
    color: #744210;
    border-left: 3px solid #ed8936;
}

.demo-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

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

.management-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.management-card:hover {
    transform: translateY(-5px);
}

.management-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.management-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* FAQ Page Styles */
.faq-section {
    padding: 60px 0;
}

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

.faq-category h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f7fafc;
}

.faq-question h3 {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f7fafc;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.faq-contact {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border-radius: 12px;
}

.faq-contact h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.faq-contact p {
    color: #4a5568;
    margin-bottom: 2rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .step-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-content.reverse {
        direction: ltr;
    }

    .sync-demo {
        flex-direction: column;
    }

    .demo-arrow {
        transform: rotate(90deg);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .management-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }
}

/* Animated Sync Demo Styles */

/* Enhanced Sync Demo */
.sync-demo {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    margin-top: 1rem;
}

.demo-calendar-container {
    position: relative;
}


/* Sync Flow Animation */
.sync-flow {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 1rem;
}

.demo-arrow.animated {
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-animation {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.syncing .sync-animation {
    animation: syncFlow 1.5s ease-in-out infinite;
    opacity: 1;
}

.arrow-icon {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.syncing .arrow-icon {
    color: #5a67d8;
    transform: scale(1.1);
}

/* Content Switching */
.sync-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sync-demo[data-current-mode="full"] .busy-content {
    display: none;
}

.sync-demo[data-current-mode="full"] .full-content {
    display: block !important;
    margin-top: 0.5rem;
    opacity: 1;
    transform: translateY(0);
}

.sync-demo[data-current-mode="busy"] .full-content {
    display: none;
}

.sync-demo[data-current-mode="busy"] .busy-content {
    display: block;
    margin-top: 0.5rem;
    opacity: 1;
    transform: translateY(0);
}

/* Mode Switching Animations */

.demo-event.full {
    background: #e6fffa;
    color: #234e52;
    border-left: 3px solid #38b2ac;
}

/* Staggered Animation for Events */
.demo-event {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.syncing .demo-calendar.work .demo-event[data-delay="0.5"] {
    animation: slideInStagger 0.8s ease forwards;
    animation-delay: 0.5s;
}

.syncing .demo-calendar.work .demo-event[data-delay="0.7"] {
    animation: slideInStagger 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* Keyframes */
@keyframes syncFlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes slideInStagger {
    0% {
        opacity: 0.5;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive Enhancements for Sync Demo */
@media (max-width: 768px) {
    .sync-demo {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .sync-flow {
        order: 2;
        margin: 0;
    }

    .demo-arrow.animated {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .demo-calendar-container {
        order: 3;
    }

    .demo-calendar.personal {
        order: 1;
    }
}

/* Additional visual enhancements */
.sync-mode {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid transparent;
    position: relative;
}

.sync-mode:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-2px);
}

.sync-mode[data-mode="busy"]:hover {
    border-color: #ed8936;
    background: #fef5e7;
}

.sync-mode[data-mode="full"]:hover {
    border-color: #38b2ac;
    background: #e6fffa;
}

/* Active States for Sync Mode Cards */
.sync-mode.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sync-mode[data-mode="busy"].active {
    background: #fef5e7;
    border-color: #ed8936;
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.25);
}

.sync-mode[data-mode="full"].active {
    background: #e6fffa;
    border-color: #38b2ac;
    box-shadow: 0 4px 12px rgba(56, 178, 172, 0.25);
}

.sync-mode.active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sync-mode[data-mode="busy"].active::after {
    background: #ed8936;
}

.sync-mode[data-mode="full"].active::after {
    background: #38b2ac;
}

/* Enhanced demo calendar styling */
.demo-calendar {
    transition: all 0.3s ease;
}

.demo-calendar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/* Enhanced sync behavior section */
.mode-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.busy-mode-details,
.full-mode-details {
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.busy-mode-details {
    background: #fef5e7;
    border: 2px solid #ed8936;
}

.full-mode-details {
    background: #e6fffa;
    border: 2px solid #38b2ac;
}

.busy-mode-details:hover,
.full-mode-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .mode-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
