* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    overflow-x: hidden;
}

.bg-primary {
    background-color: #333333 !important;
    color: white !important;
}

.el-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.el-header {
    background-color: #333333;
    color: white;
    height: 60px !important;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1009;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 22px;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
    display: inline-block;
    width: 45px;
    height: 45px;
}

.nav-links {
    display: flex;
    margin-left: auto;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.a-main-container {
    min-height: calc(100vh - 60px);
    flex-direction: row !important;
}

.el-main {
    padding: 0 !important;
    flex: 1;
}

.first-screen {
    /* background-color: #333333; */
    /* color: white; */
    /* min-height: calc(100vh - 60px); */
    display: flex;
    padding: 0 2%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.flex-dir-responsive {
    flex-direction: row;
}
@media (max-width: 992px) {
    .flex-dir-responsive {
        flex-direction: column;
    }
}

.title-wrapper, .content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper {
    flex-direction: row;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sub-heading {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.6;
    max-width: 600px;
    color: #333333;
}

.start-btn {
    border: none !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.3s !important;
    width: fit-content;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.notion-grid {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.main-workspace-container {
    height: auto;
    min-height: 300px;
    max-height: 570px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 20px;
}

/* Content Start */
.content-section {
    padding: 20px 60px;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.section-title p {
    color: var(--gray);
    /* max-width: 1200px; */
    margin: 0 auto;
    font-size: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
}

.content-section:last-of-type .features {
    margin-bottom: 20px;
}

.feature-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
    text-decoration: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #333;
}

.feature-icon img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #333;
}

.feature-description {
    color: #333;
    line-height: 1.5;
    text-align: left;
    margin: 10px 0;
}

/* How To Section */
.how-to {
    background: #333333;
    color: white;
    position: relative;
    overflow: hidden;
}

.how-to .section-title h2,
.how-to .section-title p {
    color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    width: auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #d5d5d5;
    color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.panel-workspace {
    max-height: calc(100vh - 60px);
}

/* Workspace */
.workspace-container {
    background-color: transparent;
    overflow: auto;
    justify-content: center;
    align-items: center;
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    position: relative;
    height: calc(100vh - 60px);
    width: 100%;
    background: #fff;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ccc 0), linear-gradient(45deg, #ccc 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ccc 0);
    background-position: 0 0, 15px 15px, 15px 15px, 30px 30px;
    background-size: 30px 30px;
    padding: 0px;
}

.workspace-image-container {
    /* padding: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.workspace-image-container img, .workspace-image-container canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.workspace-upload-container {
    padding: 20px;
}

.panel-upload {
    display: flex;
    padding: 20px;
    background-color: #333333;
    border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
    border-style: dashed;
    border-width: 2px;
    border-radius: 0.75rem;
    pointer-events: auto;
}

.panel-upload .el-upload {
    width: 100%;
}

.panel-upload .el-upload .el-upload-dragger {
    width: 100%;
    min-height: 32px;
    height: auto;
    border: 0px dashed #d9d9d9;
    border-radius: 0px;
    background-color: transparent;
}

.el-upload-dragger .el-icon-picture-outline {
    font-size: 48px;
    color: #ccc;
    margin: 40px 0 16px;
    line-height: 50px;
}

.panel-upload .el-upload .el-upload-dragger img {
    max-width: 100%;
    height: auto;
}

.panel-upload .el-upload .el-upload-dragger:hover {
    border-color: #cccccc;
}

.el-upload-dragger .el-upload__image {
    max-width: 100%;
}

.el-upload-dragger .el-upload__text {
    margin: 0px;
    padding: 6px 0;
    color: #cccccc;
}

.panel-upload .el-upload .el-upload-dragger .el-upload__text em {
    color: #cccccc;
    text-decoration: underline;
}

.panel-upload .el-upload .el-upload__input {
    display: none !important;
}


.canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Properties */
.panel-properties {
    border-radius: 0px;
    padding: 0px;
    border: 0px solid transparent;
    border-left: 0px solid #EBEEF5;
    background-color: #333333;
    min-height: calc(100vh - 60px);
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.panel-properties-header {
    color: white;
}

.properties-container { 
    background-color: transparent;
    color: #ccc;
    
}

.control-group {
    /* border-bottom: 1px solid #eee; */
    padding-top: 10px;
    padding-bottom: 10px;
}

.slider-control {
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
    flex-direction: column;
}

.slider-control .el-slider {
    flex: 1;
}

.form-item-label {
    display: flex;
    font-size: 14px;
    margin-bottom: 5px;
    justify-content: space-between;
}

.toolbar-buttons {
    margin: 10px 0 10px 0;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.width-100-percent {
    width: 100%;
}

.el-input__inner {
    border-radius: 10px;
}

.el-input-number__decrease {
    border-radius: 10px 0 0 10px;
}

.el-input-number__increase {
    border-radius: 0 10px 10px 0;
}

.el-button {
    border-radius: 10px;
}

.a-color-picker {
    display: block;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.a-color-picker .el-color-picker__mask {
    width: 100%;
    border-radius: 10px;
}

.a-color-picker .el-color-picker__trigger {
    width: 100%;
    display: block;
    border: 0px solid #e6e6e6;
}

.a-color-picker .el-color-picker__trigger .el-color-picker__color {
    border-radius: 8px;
}

.a-color-picker .el-color-picker__trigger .el-color-picker__color .el-color-picker__color-inner {
    border-radius: 6px;
}

.el-message {
    border-radius: 10px;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .text-content {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    .sub-heading {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .main-heading {
        font-size: 2.3rem;
    }

    .section-title h2,
    .faq-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        margin-top: 30px;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-desc {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
    }

    .sub-heading {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .start-btn {
        width: 100%;
    }

    .section-title h2,
    .faq-title {
        font-size: 1.8rem;
    }
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    /* border-radius: 4px; */
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}