/* ========================================
   LEARN MORE SUBPAGE
   ======================================== */

/* Subpage Container */
.subpage {
  position: relative;
  width: 100%;
  padding-top: 40px;  /* Optional spacing */
  padding-bottom: 40px;
  z-index: 1;
  background-color: white;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}


.subpage-header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.subpage-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 0 !important;
}

.clickable-logo {
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.clickable-logo:hover {
    opacity: 0.8 !important;
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-text);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background-color: #f1f3f4;
}

.subpage-content {
    padding: 80px 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Subpage Main Content Area */
.subpage-main-content {
    flex: 1;
}



/* Learn More Hero Section */
.learn-hero-section {
    text-align: left;
    margin-bottom: 80px;
    max-width: 700px;
}

.learn-hero-title {
    font-size: 64px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.learn-hero-description {
    font-size: 20px;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Three Features Section */
.three-features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 100px;
}

.feature-item {
    background-color: var(--background-gray);
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid var(--border-color);
}

.feature-content {
    text-align: left;
}

.feature-icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--light-text);
    border-radius: 50%;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    line-height: 1.4;
    margin: 0;
}

/* How It Works Section */
.how-it-works-wrapper {
    background-color: var(--background-gray);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0;
    margin-bottom: 0;
}

.how-it-works-section {
    max-width: none;
}

.how-it-works-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 60px;
    line-height: 1.1;
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.work-step {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid var(--border-color);
}

.work-step-content {
    text-align: left;
}

.work-step-number {
    font-size: 120px !important;
    font-weight: 200 !important;
    color: var(--light-text) !important;
    line-height: 0.8 !important;
    margin-bottom: 24px !important;
    letter-spacing: -3px !important;
    text-align: left !important;
}

.work-step-text {
    font-size: 18px;
    color: var(--primary-text);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Additional Info Box */
.additional-info {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
}

.additional-info p {
    margin: 0;
    font-size: 18px !important;
    color: #1f2937 !important;
    line-height: 1.6;
    font-weight: 500 !important;
}

/* Bottom Button */
.button-center {
    display: flex;
    justify-content: center;
}

.integrate-my-project-btn-bottom {
    background-color: var(--primary-text);
    color: var(--background-white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.integrate-my-project-btn-bottom:hover {
    background-color: #333;
    transform: translateY(-1px);
}

/* ========================================
   RESPONSIVE DESIGN - SUBPAGE
   ======================================== */

@media (max-width: 1024px) {
    .learn-hero-title {
        font-size: 48px;
    }
    
    .three-features-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .work-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .how-it-works-title {
        font-size: 36px;
    }
    
    .how-it-works-wrapper {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .subpage-nav {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .subpage-content {
        padding: 40px 0;
    }
    
    .learn-hero-section {
        margin-bottom: 60px;
        max-width: none;
    }
    
    .learn-hero-title {
        font-size: 36px;
    }
    
    .learn-hero-description {
        font-size: 18px;
    }
    
    .three-features-section {
        margin-bottom: 70px;
        gap: 16px;
    }
    
    .feature-item {
        padding: 24px 20px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .how-it-works-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .how-it-works-wrapper {
        padding: 30px 0;
    }
    
    .work-step {
        padding: 24px 20px;
    }
    
    .work-step-text {
        font-size: 16px;
    }
    
    .work-steps {
        margin-bottom: 40px;
        gap: 16px;
    }
    
    .additional-info {
        padding: 24px;
    }
    
    .additional-info p {
        font-size: 16px !important;
    }
}