.coming-soon {
    text-align: center;
    font-size: 18px;
    color: var(--accent-color);
    margin-top: 30px;
    font-weight: 500;
}/* General Styles */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f5f5f7;
    --text-color: #1d1d1f;
    --subtle-text: #86868b;
    --accent-color: #0071e3;
    --divider-color: #d2d2d7;
    --header-height: 44px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-bg: #1d1d1f;
        --secondary-bg: #121214;
        --text-color: #f5f5f7;
        --subtle-text: #86868b;
        --accent-color: #2997ff;
        --divider-color: #424245;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid var(--divider-color);
}

@media (prefers-color-scheme: dark) {
    header {
        background-color: rgba(29, 29, 31, 0.8);
    }
}

.logo {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 20px;
}

.logo img {
    height: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 24px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

nav ul li a:hover {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--primary-bg);
    padding: 20px;
    border-bottom: 1px solid var(--divider-color);
    display: none;
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 16px;
}

.mobile-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 17px;
    display: block;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 60px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 8px;
}

h2 {
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--subtle-text);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.download-btn {
    margin-top: 20px;
}

.hero .download-btn img {
    height: 55px;
    transition: transform 0.2s;
}

.cta-section .download-btn img {
    height: 44px;
    transition: transform 0.2s;
}

.download-btn img:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 100px 22px;
    max-width: 980px;
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: var(--secondary-bg);
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

.feature-icon {
    margin-bottom: 16px;
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-glyph {
    width: 48px;
    height: 48px;
}

@media (prefers-color-scheme: dark) {
    .feature-glyph {
        filter: invert(1);
    }
}

.feature-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.feature-desc {
    color: var(--subtle-text);
}

/* Carousel */
.carousel {
    margin: 60px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 22px;
    background-color: var(--secondary-bg);
    width: 100%;
    margin: 0;
    max-width: none;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 19px;
    color: var(--subtle-text);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Support Page Styles */
.page-header {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 0;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.page-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
}

.page-description {
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--subtle-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 22px 80px;
}

.faq-section {
    margin-top: 0;
}

.faq-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 20px;
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.faq-answer {
    font-size: 17px;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.contact-section {
    margin-top: 80px;
    text-align: center;
}

.contact-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 17px;
    color: var(--subtle-text);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;
    display: inline-block;
    margin-top: 8px;
}

/* Privacy Policy Specific Styles */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 22px 80px;
}

.privacy-container h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 8px;
}

.privacy-container h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    font-weight: 600;
}

.privacy-container h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    font-weight: 600;
}

.privacy-container h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.privacy-container p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.privacy-container ul {
    margin-bottom: 16px;
    margin-left: 20px;
}

.privacy-container li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.privacy-container a {
    color: var(--accent-color);
    text-decoration: none;
}

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

/* Error Page Styles */
.error-page main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.error-container {
    max-width: 600px;
    text-align: center;
    padding-top: calc(var(--header-height) + 20px);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.error-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.error-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.error-message {
    font-size: 19px;
    color: var(--subtle-text);
    margin-bottom: 32px;
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0077ED;
}

@media (prefers-color-scheme: dark) {
    .button:hover {
        background-color: #0C84FE;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 40px 22px;
    font-size: 12px;
    color: var(--subtle-text);
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 21px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-description {
        font-size: 17px;
    }

    .faq-title, .contact-title {
        font-size: 24px;
    }

    .faq-question {
        font-size: 18px;
    }

    .privacy-section h2 {
        font-size: 24px;
    }

    .privacy-section h3 {
        font-size: 19px;
    }

    .error-title {
        font-size: 28px;
    }
    
    .error-message {
        font-size: 17px;
    }

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-tip {
  margin-top: 20px;
}

.menu-bar-icon {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-socials {
  margin: 15px 0;
  text-align: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #888;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #fff;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: currentColor;
}

@media (prefers-color-scheme: dark) {
    .social-icon {
        filter: invert(1);
    }
}