/* Reset & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    scroll-behavior: smooth; /* Enable smooth scrolling */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #111827;
}

.logo img {
    height: 32px;
    width: 32px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #2563eb;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background-color: #f3f4f6;
    color: #374151;
}

.badge-count {
    background-color: #e5e7eb;
    padding: 0 4px;
    border-radius: 2px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4b5563;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: #fff;
}

.hero-container {
    display: flex;
    align-items: flex-start; /* Changed from center to align top if needed, but center is usually better */
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
}

.subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.warning-box {
    background-color: #fff5f5;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #b91c1c;
    font-size: 0.875rem;
}

.warning-box strong {
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-soft-blue {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid transparent;
}

.btn-soft-blue:hover {
    background-color: #bfdbfe;
}

.btn-block {
    width: 100%;
}

.os-info {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    opacity: 0.9;
}

.mobile-apps {
    margin-top: 2rem;
}

.mobile-apps-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.app-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4b5563;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: #f3f4f6;
    transition: background-color 0.2s;
}

.app-link:hover {
    background-color: #e5e7eb;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-mockup {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.screenshot-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

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

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

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

.carousel-dot.active, .carousel-dot:hover {
    background-color: #ffffff;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0 6rem;
    background-color: #fff;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 1rem;
    color: #6b7280;
}

.toggle-label.active {
    color: #111827;
    font-weight: 600;
}

.badge-save {
    background-color: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2563eb;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: #2563eb;
}

.toggle-switch input:checked + label:before {
    transform: translateX(24px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.2s;
}

.pricing-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card.recommended {
    border: 2px solid #2563eb;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: #6b7280;
    font-size: 0.875rem;
    min-height: 42px; /* Align heights */
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    margin-bottom: 2rem;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
}

.price-suffix {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    margin-bottom: 6px;
}

.original-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.period {
    font-size: 0.875rem;
    color: #6b7280;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.feature-list li i {
    color: #2563eb;
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.feature-sub {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 1.5rem;
    margin-top: 0.25rem;
}

.highlight-blue {
    color: #2563eb;
}

.feature-detail {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 1rem;
    margin-left: 1.5rem !important; /* Indent */
    margin-bottom: 1rem;
}

.feature-detail ul {
    list-style: disc;
    margin-left: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-detail li {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    color: #4b5563;
}
.feature-detail li i { display: none; } /* No checkmark inside detail box */

.feature-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.feature-note a {
    color: #2563eb;
    text-decoration: underline;
}


/* Download Section */
.download-section {
    padding: 4rem 0 6rem;
    background-color: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #111827;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.column-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #374151;
}

.download-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s;
}

.download-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
    color: #111827;
    width: 40px;
    display: flex;
    justify-content: center;
}

.icon-blue { color: #007aff; }
.icon-colorful { background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335); -webkit-background-clip: text; color: transparent; }
.icon-green { color: #3ddc84; }

.card-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.card-right {
    display: flex;
    gap: 0.5rem;
}

.btn-download-sm {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-download-sm:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:active {
    background-color: #f9fafb;
}

/* Documentation Page */
.doc-container {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
    flex: 1; /* Expand to fill space */
}

.doc-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 90px; /* navbar height + padding */
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.sidebar-group {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    display: block;
    color: #6b7280;
    font-size: 0.9375rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.sidebar-links a:hover {
    color: #111827;
}

.sidebar-links a.active {
    color: #2563eb;
    font-weight: 600;
}

.doc-content {
    flex: 1;
    max-width: 800px; /* readable width */
}

.doc-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.doc-content .lead {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 3rem;
}

.doc-content section {
    margin-bottom: 3rem;
}

.doc-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
}

.doc-content p {
    margin-bottom: 1.25rem;
    color: #374151;
}

.doc-list {
    list-style: disc;
    margin-left: 1.5rem;
    color: #374151;
}

.doc-list li {
    margin-bottom: 0.75rem;
}

.doc-list li a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.doc-list li a:hover {
    color: #1d4ed8;
}

/* Help Center */
.help-main {
    flex: 1; /* Expand to fill space */
}

.help-hero {
    text-align: center;
    padding: 6rem 0 4rem;
    background-color: #fff;
}

.help-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
}

.help-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.help-cards-section {
    padding: 2rem 0 6rem;
    background-color: #fff;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.help-card {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.2s;
    height: 100%;
}

.help-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.help-icon {
    font-size: 1.5rem;
    color: #1f2937;
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.help-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.help-content p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.more-guides {
    padding: 4rem 0 6rem;
    background-color: #f9fafb;
    text-align: center;
}

.more-guides-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af; /* Muted title color as per screenshot */
    margin-bottom: 2rem;
}

.more-guides-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.more-guides-list li {
    font-size: 1.125rem;
}

.more-guides-list a {
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.more-guides-list a:hover {
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .app-links {
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* Hide nav links on smaller screens for simplicity */
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Docs */
@media (max-width: 768px) {
    .doc-container {
        flex-direction: column;
    }

    .doc-sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
}

/* Footer */
.site-footer {
    background-color: #1f2937; /* Dark background */
    color: #fff;
    padding: 4rem 0;
    margin-top: auto; /* Push to bottom if flex column */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-left {
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.footer-logo img {
    height: 32px;
    width: 32px;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
}

.footer-links-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af; /* Gray text */
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
}

.btn-lang-footer {
    background-color: #fff;
    color: #1f2937;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-lang-footer:hover {
    background-color: #f3f4f6;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .footer-links-grid {
        gap: 2rem;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
